]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/quiesce: overdrive an export if it hasn't frozen the tree yet
authorLeonid Usov <leonid.usov@ibm.com>
Mon, 20 May 2024 16:17:04 +0000 (19:17 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Sun, 26 May 2024 08:33:52 +0000 (11:33 +0300)
commitda5c263b8e7797eac6c9d13d5b6a6b292d9c5def
tree3c63f9c1e79be0fa29bdab8d3a4e0cbac00082a6
parentb1cb6d985622c6164d99d3fd79b6eeaf6530894c
mds/quiesce: overdrive an export if it hasn't frozen the tree yet

Just like with the fragmenting, we should abort an ongoing export
if a quiesce is attempted for the directory.

To minimize the stress for the system, we only allow the abort
if the export hasn't yet managed to freeze the tree. If that is the case,
then quiesce will have to wait for the export to finish.

Fixes: https://tracker.ceph.com/issues/66123
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
src/mds/MDCache.cc
src/mds/Migrator.cc
src/mds/Migrator.h