ceph/qa/tasks/cephfs
Patrick Donnelly 06c94de584
mds: support limiting cache by memory
This introduces two config parameters:

    mds_cache_memory_limit: Sets the soft maximum of the cache to the given
    byte count. (Like mds_cache_size, this doesn't actually limit the maximum
    size of the cache. It just dictates the steady-state size.)

    mds_cache_reservation: This replaces mds_health_cache_threshold everywhere
    except the Beacon heartbeat sent to the mons. The idea here is to specify a
    reservation of memory (5% by default) for operations and the MDS tries to
    always maintain that reservation. So, the MDS will recall caps from clients
    when it begins dipping into its reservation of memory.

mds_cache_size still limits the cache by Inode count but is now by-default 0
(i.e. unlimited). The new preferred way of specifying cache limits is by memory
size. The default is 1GB.

Fixes: http://tracker.ceph.com/issues/20594
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1464976

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-12 20:02:41 -07:00
..
__init__.py
cephfs_test_case.py qa/cephfs: support CephFS recovery pools 2017-08-30 09:02:44 -04:00
filesystem.py qa/cephfs: test CephFS recovery pools 2017-08-30 09:02:44 -04:00
fuse_mount.py qa/cephfs: lsof if umount fails 2017-07-19 15:32:37 +08:00
kernel_mount.py qa/cephfs: lsof if umount fails 2017-07-19 15:32:37 +08:00
mount.py
test_auto_repair.py qa/tasks/ceph_test_case.py: update health check helpers 2017-07-12 12:52:03 -04:00
test_backtrace.py
test_cap_flush.py
test_client_limits.py mds: support limiting cache by memory 2017-09-12 20:02:41 -07:00
test_client_recovery.py
test_config_commands.py
test_damage.py
test_data_scan.py qa/cephfs: Refactor alternate pool test 2017-08-30 09:02:44 -04:00
test_dump_tree.py
test_exports.py qa: test export_pin is correct in dumped subtree 2017-07-31 15:33:49 -07:00
test_failover.py qa/cephfs: don't use int() to convert string of float point number 2017-07-13 15:55:22 +08:00
test_flush.py
test_forward_scrub.py
test_fragment.py qa: use new hex rep of inode 2017-08-02 21:39:48 -07:00
test_full.py
test_journal_migration.py
test_journal_repair.py qa: no longer need to explicitly enable multimds 2017-06-23 17:07:34 +01:00
test_mantle.py qa: no longer need to explicitly enable multimds 2017-06-23 17:07:34 +01:00
test_misc.py qa/cephfs: Test filtered df 2017-08-03 14:11:47 -04:00
test_pool_perm.py
test_quota.py
test_readahead.py
test_recovery_pool.py qa/cephfs: test CephFS recovery pools 2017-08-30 09:02:44 -04:00
test_scrub_checks.py
test_sessionmap.py qa: no longer need to explicitly enable multimds 2017-06-23 17:07:34 +01:00
test_strays.py qa: wait for OSDMap to propagate for snap purge 2017-07-07 15:12:42 -07:00
test_volume_client.py qa/cephfs: Fix race in test_volume_client 2017-08-04 14:38:50 -04:00