Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
afr: fix race between __afr_eager_lock_handle and afr_wakeup_same_fd_…
…delayed_op (#4425) (#4426) Race between __afr_eager_lock_handle and afr_wakeup_same_fd_delayed_op will lead to stale inodelks, which may cause subsequent IO blocked. To avoid this race, set lock->release = _gf_true also in afr_wakeup_same_fd_delayed_op so that a new transaction can be correctly handled as expected in __afr_eager_lock_handle. Fixes: #4425 Signed-off-by: chenjinhao <[email protected]> Co-authored-by: 陈瑾浩 10307298 <[email protected]>
- Loading branch information