]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: allow pgp_num increases to be fast if pool is empty(ish)
authorSage Weil <sage@redhat.com>
Mon, 29 Apr 2019 21:17:40 +0000 (16:17 -0500)
committerSage Weil <sage@redhat.com>
Mon, 29 Apr 2019 21:31:51 +0000 (16:31 -0500)
commit06eeadea9a717b05d14916eb2fd9fcb019ca898c
tree66f38511d726d46af1584b81fcd9af6dbab9ccc8
parent89e8e2a534f72d9b23b85b151f97ff2b4c27b9b1
mgr/DaemonServer: allow pgp_num increases to be fast if pool is empty(ish)

If we just created a new pool and it's basically empty, there is no reason
to throttle the pgp_num changes.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c7c2d18da5058ffbe1f71e66a8d4c1dcfd8eacdb)
src/mgr/DaemonServer.cc