]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: generalize rule type check for pools
authorSamuel Just <sjust@redhat.com>
Tue, 21 Nov 2023 23:39:23 +0000 (15:39 -0800)
committerSamuel Just <sjust@redhat.com>
Sun, 4 Feb 2024 05:00:11 +0000 (21:00 -0800)
commit8fba03fe42a4981cb40c58c5f8b8c6f7524f6178
tree0fc912d04d562aa7e824dcf56f629f72ee410d0d
parent8eb68353963e0ab16f4a3e0afb9d250e4bf7fb08
mon/OSDMonitor: generalize rule type check for pools

Add rule_valid_for_pool_type to CrushWrapper to generalize
rule type <-> pool type mapping to include the new MSR
types.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crush/CrushWrapper.h
src/mon/OSDMonitor.cc
src/osd/OSDMap.cc