]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Add mechanism for user to add/clear pool flags.
authorAlex Ainscow <aainscow@uk.ibm.com>
Thu, 5 Feb 2026 13:19:05 +0000 (13:19 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Fri, 6 Feb 2026 10:31:30 +0000 (10:31 +0000)
commit8cc762c83d9e7a72a484c19b7bf0cd8c0300b44d
tree7007848fe512d6ebcdb9aba5c2865a504332fba5
parenta9f3eacc3754e7855fa9b9e9ebc38038ee13c68d
mon: Add mechanism for user to add/clear pool flags.

Previously, every time we had a new experimental feature, switched with a
pool flag, we needed to add a bunch of boiler plate.  Given that end users
should not be using these features, adding all of this user-visible
behaviour is not desirable.

This adds a single mechanism to specify a flag set by number.  These magic
numbers can be used during development and then either removed, or
promoted to user-friendly flags.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/mon/MonCommands.h
src/mon/OSDMonitor.cc