]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: move drop_locks to directly after rdonly check
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 16 Apr 2024 01:20:15 +0000 (21:20 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 9 Jan 2025 19:50:56 +0000 (14:50 -0500)
commit8ea05cc50af3daf4924c9f7f405d8931dc54baf2
treed2ccd35111ef6363d5cb039f2d305c9c513cdb7e
parentef009c335695579453c1f0250909f10811794f86
mds: move drop_locks to directly after rdonly check

The code logic had a serious defect that it would only execute xlock_policylock
once such that a retry would then proceed to executing the vxattr setting.

Fixes: https://tracker.ceph.com/issues/65496
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 2931860c4fe115a308c5d3a41d57bc3fbd416f36)

Conflicts:
src/mds/Server.cc: quiesce.block does not exist in reef
src/mds/Server.cc