freebsd-skq/sys/fs/nfsserver
rmacklem a05fe1c2c9 hrs@ reported a panic to freebsd-stable@ under the subject line
"panic in 8.3-PRERELEASE" on Feb. 22, 2012. This panic was caused
by use of a mix of tsleep() and msleep() calls on the same event
in the new NFS server DRC code. It did "mtx_unlock(); tsleep();"
in two places, which kib@ noted introduced a slight risk that the
wakeup() would occur before the tsleep(), resulting in a 10sec
delay before waking up. This patch fixes the problem by replacing
"mtx_unlock(); tsleep();" with mtx_sleep(..PDROP..). It also
changes a nfsmsleep() call to mtx_sleep() so that the code uses
mtx_sleep() consistently within the file.

Tested by:	hrs (in progress)
Reviewed by:	jhb
MFC after:	5 days
2012-02-23 16:47:05 +00:00
..
nfs_nfsdcache.c hrs@ reported a panic to freebsd-stable@ under the subject line 2012-02-23 16:47:05 +00:00
nfs_nfsdkrpc.c
nfs_nfsdport.c Delete a couple of out of date comments that are no longer true in 2012-02-16 02:19:53 +00:00
nfs_nfsdserv.c
nfs_nfsdsocket.c
nfs_nfsdstate.c Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
nfs_nfsdsubs.c This patch adds a sysctl to the NFSv4 server which optionally disables the 2011-12-04 16:33:04 +00:00