summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-cam.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-05-14 13:50:40 +0000
committerrwatson <rwatson@FreeBSD.org>2003-05-14 13:50:40 +0000
commitfef83dc8be41b6e2e7152bbd08d65d6acb591380 (patch)
treef63d76d0549a646e83dcc7947fde8c28cf8884f5 /sys/dev/ata/atapi-cam.c
parentb48c68051e7ebf5564798c9c22bc0947f097576e (diff)
downloadFreeBSD-src-fef83dc8be41b6e2e7152bbd08d65d6acb591380.zip
FreeBSD-src-fef83dc8be41b6e2e7152bbd08d65d6acb591380.tar.gz
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>
Diffstat (limited to 'sys/dev/ata/atapi-cam.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud