aboutsummaryrefslogtreecommitdiff
path: root/lib/libz/compress.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-05-14 13:50:40 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-05-14 13:50:40 +0000
commit1870b993d0f04ab08999bfee401b1b992d3355a4 (patch)
treef63d76d0549a646e83dcc7947fde8c28cf8884f5 /lib/libz/compress.c
parent5adbf8fb4da4ccd3f566425a11e333ac9a5b32e9 (diff)
downloadsrc-1870b993d0f04ab08999bfee401b1b992d3355a4.tar.gz
src-1870b993d0f04ab08999bfee401b1b992d3355a4.zip
When receiving NLM_GRANTED_RES or NLM4_GRANTED_RES lock granted messages
from the NFS server, following contention on a lock by this or another client, immediately notify the waiting process that the lock has been granted via a wakeup. Without this change, the client rpc.lockd will not wakeup the waiting process until it next re-polls the lock (sometime in the next ten seconds), which can lead to marked latency across all potential lockers, as the lock is held by the client for the duration. Approved by: re (scottl) Submitted by: truckman Reviewed by: Andrew P. Lentvorski, Jr <bsder@allcaps.org>
Notes
Notes: svn path=/head/; revision=114993
Diffstat (limited to 'lib/libz/compress.c')
0 files changed, 0 insertions, 0 deletions