]> git-server-git.apps.pok.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@redhat.com>
Tue, 23 Jul 2024 02:43:19 +0000 (22:43 -0400)
commit3cbcd8de5b6a86b95f9068a92b3f9e5c5cc93e55
treefd16dd2e13dab714a7cf01b04556ea3a5eebaa9c
parent81448bac340aa54653b2f4096846d5784e7665da
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