]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: use pg_num_target for checks during creation
authorJohn Spray <john.spray@redhat.com>
Wed, 26 Sep 2018 16:45:31 +0000 (12:45 -0400)
committerSage Weil <sage@redhat.com>
Tue, 18 Dec 2018 19:30:54 +0000 (13:30 -0600)
commit0e101ae10ff9ac937452787597096966eb7fd9da
tree1caee18f64874b019e348fd9b8a768efad609671
parent61aa7e2e0230bff49e757c32932d1db4bcad5f67
mon: use pg_num_target for checks during creation

This way, someone creating pools can proceed
as long as they've decreased the pg_num_target
of other pools, even if the adjustment hasn't
fully completed yet.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/OSDMonitor.cc