Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mds: set the correct WRLOCK flag always in wrlock_force()
When the locks are added as REMOTE_WRLOCK and later when they need to force wrlock in local MDS it will reuse the existing lock item from the 'mdr->locks'. That means the latter force wrlock will fail to set the WRLOCK flag. So when cleaning the requests it will try to release the remote locks and then removes lock items directly, which will miss releasing the wrlock reference locally. Fixes: https://tracker.ceph.com/issues/65630 Signed-off-by: Xiubo Li <xiubli@redhat.com>
- Loading branch information