]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: fix pgp_num vs merge pacer
authorSage Weil <sage@redhat.com>
Mon, 29 Apr 2019 21:17:01 +0000 (16:17 -0500)
committerSage Weil <sage@redhat.com>
Mon, 29 Apr 2019 21:17:01 +0000 (16:17 -0500)
commite6113c172523906ee2f5a317ddb358e215d0a448
treea3d6560a5e7072f3349144818cf50c586d4fceb6
parent8cd112815743264fb47c71c2cb96a255da80eade
mgr: fix pgp_num vs merge pacer

This condition should only kick in for pgp_num reductions, or else we'll
end up jump to the end instead of slowing down merges.  (For splits, we
don't need to pace like this at all.)

Fixes 76503a1438fa1f166d2c230c73ca8d7b67e6468d

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