]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/OSDMonitor: allow PG splitting for crimson pools by default wip-amat-crimson-add-pg-num-testing
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:41:48 +0000 (05:41 +0000)
commitfe80bb77826de10c5f0ec8deb32f882ec92b1d03
tree79293a6a2289b0da537c89198b907ec6978fb9b4
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