]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: allow PG splitting for crimson pools by default
authorAishwarya Mathuria <amathuri@redhat.com>
Thu, 29 Jan 2026 11:53:54 +0000 (11:53 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Fri, 30 Jan 2026 05:45:30 +0000 (05:45 +0000)
commita236e9ec298929a742b480c96236769107b1b00c
tree15185a9624405a089fae4b4aed06e8970ba46394
parent8e6d3cdf0fb58142c9b9cfb08eb1fefc05abf467
mon/OSDMonitor: allow PG splitting for crimson pools by default

Previously, crimson pools were created with FLAG_NOPGCHANGE hardcoded,
preventing any adjustment to pg_num since splitting and merging were
not yet supported.

This patch:
- Removes the hardcoded FLAG_NOPGCHANGE during crimson pool creation,
  and instead honors the global 'osd_pool_default_flag_nopgchange'.
- Introduces 'crimson_allow_pg_split' (default: true) to gate
  PG splitting.
- Explicitly blocks PG merging (shrinking) for crimson pools,
  as shrinking remains unsupported.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
src/common/options/crimson.yaml.in
src/mon/OSDMonitor.cc