Date: Thu, 21 Jul 2005 22:46:56 +0000 (UTC) From: Paul Saab <ps@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_bio.c nfs_node.c nfsnode.h Message-ID: <200507212246.j6LMkuac029889@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507212246.j6LMkuac029889>