]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens 13757/head
authorKefu Chai <kchai@redhat.com>
Sun, 19 Feb 2017 05:10:44 +0000 (13:10 +0800)
committerSage Weil <sage@redhat.com>
Fri, 3 Mar 2017 00:26:51 +0000 (18:26 -0600)
commit6adf39b98305b6af8d0192b35ec22c5007293d32
tree41080a6a14acc1048f887cbe605113bef1884066
parentab5538fd7e3b727616272edb565e3782d004632a
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens

we should not update pools_to_fix_pgp_num if the pool is not expanded or
the pg_num is not increased due to pgs being created. this prevent us
from fixing the pgp_num after done with thrashing if we actually did
nothing when fixing the pgp_num when thrashing, but we removed the pool
from pools_to_fix_pgp_num after set_pool_pgpnum() returns.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit c0f0cde399a80cea617c115417e5390a63ec674e)
qa/tasks/ceph_manager.py