mirror of
https://github.com/ceph/ceph
synced 2024-12-23 03:44:23 +00:00
9832beac85
This commit amends the MDS thrasher task to also work on multimds clusters. Main changes: o New FSStatus class in tasks/cephfs/filesystem.py which gets a snapshot of the fsmap (`ceph fs dump`). This allows consecutive operations on the same fsmap without repeated fs dumps. o Only one MDSThrasher is started for each file system. o The MDSThrasher operates on ranks instead of names (and groups of standbys following the initial active). o The MDSThrasher also will change the max_mds for the cluster to a new value [1, current) or (current, starting max_mds]. When reduced, randomly selected MDSs other than rank 0 will be deactivated to reach the new max_mds. The likelihood of changing max_mds in a given cycle of the MDSThrasher is set by the "thrash_max_mds" config. o The MDSThrasher prints out stats on completion, e.g. number of mds deactivated or mds_max changed. Pre-requisite for: http://tracker.ceph.com/issues/10792 Partially fixes: http://tracker.ceph.com/issues/15134 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
cephfs_test_case.py | ||
filesystem.py | ||
fuse_mount.py | ||
kernel_mount.py | ||
mount.py | ||
test_auto_repair.py | ||
test_backtrace.py | ||
test_cap_flush.py | ||
test_client_limits.py | ||
test_client_recovery.py | ||
test_config_commands.py | ||
test_damage.py | ||
test_data_scan.py | ||
test_dump_tree.py | ||
test_failover.py | ||
test_flush.py | ||
test_forward_scrub.py | ||
test_full.py | ||
test_journal_migration.py | ||
test_journal_repair.py | ||
test_mantle.py | ||
test_misc.py | ||
test_pool_perm.py | ||
test_readahead.py | ||
test_scrub_checks.py | ||
test_sessionmap.py | ||
test_strays.py | ||
test_volume_client.py |