]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r223312
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Jul 2011 00:45:21 +0000 (00:45 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Jul 2011 00:45:21 +0000 (00:45 +0000)
commitb1f8ee0e213b18a199796042a0204b6521fb3892
tree786ec922decd62bcc2fdc8ba6805788ff548b3d9
parent9b154215ea7611a0eebb9a4dbf4c9332abd52364
MFC: r223312
Fix a number of places where the new NFS server did not
lock the mutex when manipulating rc_flag in the DRC cache.
This is believed to fix a hung server that was reported
to the freebsd-fs@ list on June 9 under the subject heading
"New NFS server stress test hang", where all the threads
were waiting for the RC_LOCKED flag to clear.

git-svn-id: svn://svn.freebsd.org/base/stable/8@223749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdcache.c