]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerJon Bailey <jonathan.bailey1@ibm.com>
Wed, 27 May 2026 15:40:17 +0000 (16:40 +0100)
commit31ff5793be65cafae03432a9414c74c1c3d801e2
tree4f02b2dd3afc4aab4d21cdb5c357f109188f5141
parenta502b26a8f4f1ba951e4928e76944f2487a047bc
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