OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3033-gdfcb68c
Gerrit Code Review
gerrit@openafs.org
Fri, 19 Oct 2012 08:50:04 -0700 (PDT)
The following commit has been merged in the master branch:
commit dfcb68cdc82260f614b2efed2529dc7c559d1933
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Oct 19 08:37:25 2012 -0400
Windows: avoid race set/clear ExtentsRequestComplete
The FCB ExtentsRequestComplete KEVENT setting, clearing
and testing was racy. Clear the event before issuing the
request to the service and if the request fails, set it in
case two threads issued requests for the same FCB in parallel
and one fails and the other succeeds.
We must ensure that a clear does not mask the event being set
prior to the request thread returning.
Change-Id: I6d496214a2621aeca2b9f6d2f50095ffd19b6c59
Reviewed-on: http://gerrit.openafs.org/8255
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/AFSExtentsSupport.cpp | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository