Re: [PATCH] zerocopy NFS updated

From: Hirokazu Takahashi (taka@valinux.co.jp)
Date: Fri Apr 12 2002 - 03:10:12 EST


Hi,

Thank you for your suggestion.

bcrl> One possibility is to make the inode semaphore a rwsem, and to have NFS
bcrl> take that for read until the sendpage is complete. The idea of splitting
bcrl> the inode semaphore up into two (one rw against truncate) has been bounced
bcrl> around for a few other reasons (like allowing multiple concurrent reads +
bcrl> writes to a file). Perhaps its time to bite the bullet and do it.

It sounds not so bad.
Partial truncating would rarely happens, so it might be enough.
I'll give it a try.

Regards,
Hirokazu Takahashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:20 EST