]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
squid: mds: QuiesceDbRequest: update the internal encoding of ops 57945/head
authorLeonid Usov <leonid.usov@ibm.com>
Thu, 6 Jun 2024 11:48:56 +0000 (14:48 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Sun, 9 Jun 2024 15:28:27 +0000 (18:28 +0300)
commit3df11b71070d12a577e3a6bce96abbac2abc66a9
tree41b3282bec644974c9bd68fb7127c4d23b6f9472
parentc2873ffc8303a98178d1a2371cf660f2a4e61907
squid: mds: QuiesceDbRequest: update the internal encoding of ops

Excluding the last root from a set will automatically mark it as QS_CANCELED.
Hence, it makes more sense if `exclude` and `cancel` share the same op code,
rather than `exclude` and `release`.

Fixes: https://tracker.ceph.com/issues/66400
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/66383
(cherry picked from commit dad52497817c372fd7c61a88a210b5a3613cb807)
src/mds/MDSRankQuiesce.cc
src/mds/QuiesceDb.h
src/mds/QuiesceDbManager.cc
src/test/mds/TestQuiesceDb.cc