[Linux-cachefs] NFS write caching

David Howells dhowells at redhat.com
Tue Jun 22 18:04:53 UTC 2010


Gilliam, PaulX J <paulx.j.gilliam at intel.com> wrote:

> And the corollary: if two NFS clients open the same file for write access
> and don't use file or byte-range locking, don't they deserve what they get?

That's certainly a valid position to take - and really the only position you
can take if you want to do caching of any sort.

> Also, if a pNFS client has been has been delegated responsibility for opens
> for a file, won't that delegation be revoked if another pNFS client tries to
> open the same file for writing?

I don't know that much about how NFS delegations work, but the second write
doesn't have to be in the NFS server at all - it can be in the filesystem
behind the NFS server.

David




More information about the Linux-cachefs mailing list