The following commit has been merged in the openafs-devel-1_7_x branch:
commit d6618401edf0916f191ff2a1d7e0d0b9a7d377f1
Author: Jeffrey Altman <[email protected]>
Date: Tue Apr 8 03:27:26 2014 -0400
Windows: Avoid deadlock during pending delete cleanup
Release the Fcb resource and clear the AFS_DIR_ENTRY_PENDING_DELETE
flag prior to the AFSProcessRequest(AFS_REQUEST_TYPE_CLEANUP_PROCESSING)
if a delete is pending during cleanup of the last FCB open handle.
Failure to do so results in an out of order lock acquisition when
the parent object info tree lock is acquired after the AFSProcessRequest()
call to the service completes.
Reviewed-on: http://gerrit.openafs.org/11425
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit 58e4e4802d4208604a6aa05362454e6174fe3277)
Change-Id: Ic4565afc6e356f33ddb6290c5399656d35a102d5
Reviewed-on: http://gerrit.openafs.org/11428
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
src/WINNT/afsrdr/kernel/lib/AFSCleanup.cpp | 62 ++++++++++++++++++++++------
1 files changed, 49 insertions(+), 13 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs