OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3034-g2bfe365
Gerrit Code Review
gerrit@openafs.org
Fri, 19 Oct 2012 08:51:10 -0700 (PDT)
The following commit has been merged in the master branch:
commit 2bfe3653e3eec99a1199392912a4136668406212
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sun Oct 7 23:41:32 2012 -0400
Windows: PrimaryvolumeWorker do not pause if busy fcb
The AFSPrimaryVolumeWorkerThread should not unnecessarily block
on the FCB Resource because such blockage could be the result of
of waiiting for extents to be delivered from the service. The
AFSPrimaryVolumeWorkerThread is the primary method by which
extents are released back to the service.
AFSCleanupFcb() is modified to return STATUS_RETRY if the Fcb
resource cannot be obtained without blocking.
The AFSPrimaryVolumeWorkerThread() does not call
AFSCleanupFcb() with 'ForceFlush' parameter set to TRUE and
remembers if STATUS_RETRY is returned. If any Fcb was busy,
then the worker does not wait for the 5 second timer to fire.
Change-Id: If3eab06b902202483eb354362a4db6bc8167d0df
Reviewed-on: http://gerrit.openafs.org/8227
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp | 115 +++++++++++++++-------------
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp | 40 ++++++++--
2 files changed, 92 insertions(+), 63 deletions(-)
--
OpenAFS Master Repository