]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: QuiesceDbRequest: update the internal encoding of ops 57912/head
authorLeonid Usov <leonid.usov@ibm.com>
Thu, 6 Jun 2024 11:48:56 +0000 (14:48 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Thu, 6 Jun 2024 12:31:12 +0000 (15:31 +0300)
commitdad52497817c372fd7c61a88a210b5a3613cb807
tree489e247f28817b22fefd34d9d98561def5f14203
parent3394d1bbd4a653a92107b32da59890d10f286646
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`.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/66383
src/mds/MDSRankQuiesce.cc
src/mds/QuiesceDb.h
src/mds/QuiesceDbManager.cc
src/test/mds/TestQuiesceDb.cc