]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens 13518/head
authorKefu Chai <kchai@redhat.com>
Sun, 19 Feb 2017 05:10:44 +0000 (13:10 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 19 Feb 2017 05:10:46 +0000 (13:10 +0800)
commitc0f0cde399a80cea617c115417e5390a63ec674e
tree9511f53be5c14f8eb39510e944817502ed6fd673
parentc1c1f2e408b6bb8032dc31660d0e1712311d44da
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>
qa/tasks/ceph_manager.py