Date: Sat, 11 Sep 2010 01:08:16 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_commonsubs.c nfs_var.h src/sys/fs/nfsserver nfs_nfsdsocket.c nfs_nfsdstate.c Message-ID: <201009110108.o8B18XPN076453@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-09-11 01:08:16 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/fs/nfs nfs_commonsubs.c nfs_var.h
sys/fs/nfsserver nfs_nfsdsocket.c nfs_nfsdstate.c
Log:
SVN rev 212446 on 2010-09-11 01:08:16Z by rmacklem
MFC: r211951
The timer routine in the experimental NFS server did not acquire
the correct mutex when checking nfsv4root_lock. Although this
could be fixed by adding mutex lock/unlock calls, zack.kirsch at
isilon.com suggested a better fix that uses a non-blocking
acquisition of a reference count on nfsv4root_lock. This fix
allows the weird NFSLOCKSTATE(); NFSUNLOCKSTATE(); synchronization
to be deleted. This patch applies this fix.
Revision Changes Path
1.3.2.3 +15 -0 src/sys/fs/nfs/nfs_commonsubs.c
1.6.2.9 +1 -0 src/sys/fs/nfs/nfs_var.h
1.4.2.3 +0 -2 src/sys/fs/nfsserver/nfs_nfsdsocket.c
1.10.2.10 +12 -21 src/sys/fs/nfsserver/nfs_nfsdstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009110108.o8B18XPN076453>
