]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: adjust pgp_num_target down along with pg_num_target as needed
authorSage Weil <sage@redhat.com>
Tue, 10 Apr 2018 16:16:42 +0000 (11:16 -0500)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commit0d5dc37c9d189d27dd3aa20f693f27347ddef587
treed35d38f1af701086308d95a9352327c7c2545401
parent1a08a4126650f0ff82187124a27b0b9efcfc7726
mon/OSDMonitor: adjust pgp_num_target down along with pg_num_target as needed

If the user asks to reduce pg_num, reduce pg_num_target too at the same
time.

Don't completely hide pgp_num yet (by increasing it when pg_num_target
increases).

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc