cvs commit: src/sys/nfsclient nfs_bio.c nfs_node.c nfsnode.h

Paul Saab ps at FreeBSD.org
Thu Jul 21 22:47:06 GMT 2005


ps          2005-07-21 22:46:56 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_bio.c nfs_node.c nfsnode.h 
  Log:
  Remove the NFS client rslock. The rslock was used to serialize
  writers that want to extend the file. It was also used to serialize
  readers that might want to read the last block of the file (with a
  writer extending the file).  Now that we support vnode locking for
  NFS, the rslock is unnecessary. Writers grab the exclusive vnode
  lock before writing and readers grab the shared (or in some cases
  the exclusive) lock.
  
  Submitted by:   Mohan Srinivasan
  
  Revision  Changes    Path
  1.153     +2 -76     src/sys/nfsclient/nfs_bio.c
  1.77      +0 -12     src/sys/nfsclient/nfs_node.c
  1.56      +0 -26     src/sys/nfsclient/nfsnode.h


More information about the cvs-src mailing list