Re: [PATCH] zerocopy NFS updated

Benjamin LaHaise
2002-04-11T17:33:10Z

On Thu, Apr 11, 2002 at 12:52:16AM -0700, David S. Miller wrote:
> I think this idea has such high overhead that it is even not for
> consideration, consider SMP.

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

-ben
--
"A man with a bass just walked in,
and he's putting it down
on the floor."