Date: Wed, 14 May 2003 06:50:40 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpc.lockd lock_proc.c Message-ID: <200305141350.h4EDoeVv023264@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/05/14 06:50:40 PDT FreeBSD src repository Modified files: usr.sbin/rpc.lockd lock_proc.c Log: 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> Revision Changes Path 1.11 +7 -2 src/usr.sbin/rpc.lockd/lock_proc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305141350.h4EDoeVv023264>