]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r316669
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 20:34:56 +0000 (20:34 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 20:34:56 +0000 (20:34 +0000)
commitf4e141a98936a15883841b776de7393b90aeaa5f
tree82347649f6bc0afe74e6819f2c5a080191e6fd32
parentfa09747eeddf6fa42c427f1aa9218d62f0d7a1fa
MFC: r316669
Avoid starvation of the server crash recovery thread for the NFSv4 client.

This patch gives a requestor of the exclusive lock on the client state
in the NFSv4 client priority over shared lock requestors. This avoids
the server crash recovery thread being starved out by other threads doing
RPCs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317423 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clstate.c