Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
3
-
9223372036854775807
Description
In rename locking, there are two situations we need to lock target
parent before source parent:
1. source parent is subdir of target parent.
2. source and target parents are both stripes of the same directory,
and stripe index of source parent is after that of target parent.
But the check for the second situation is missing, which may cause
deadlock if another thread is taking stripe locks of their parent.