OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1362-g52fee71
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Jul 2011 00:57:43 -0700 (PDT)
The following commit has been merged in the master branch:
commit 52fee7140325d905f01798d7c5724744b606ac06
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Mon Jul 11 00:19:17 2011 +0100
Windows: Move file server lock releases to daemon
Create a new lock daemon thread which performs regular
cm_LockCheck() calls. If a lock is deleted check the cm_scache_t
to see if the matching file server lock should be dropped. If yes,
drop it.
This effectively caches file server locks for two seconds after
they are released to provide a chance for subsequent local lock
requests on the same file to avoid a file server RPC. It also
ensures that windows processes do not thrash the file server and
force callback breaks.
Change-Id: I1c452e231ff282d9b45026aed1b02ab0c5932a77
Reviewed-on: http://gerrit.openafs.org/4964
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_daemon.c | 59 ++++++++++++++++++++++++++++++++---------
src/WINNT/afsd/cm_vnodeops.c | 32 +++++++++-------------
2 files changed, 59 insertions(+), 32 deletions(-)
--
OpenAFS Master Repository