ceph/qa/tasks
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
..
cephfs mds: support limiting cache by memory 2017-09-12 20:02:41 -07:00
mgr qa: s/REQUIRE_MGRS/MGRS_REQUIRED/ for consistency 2017-04-20 15:00:31 +01:00
tests move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
util qa: create_cache_pool no longer runs 'pool application enable' 2017-08-29 10:01:04 -04:00
__init__.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
admin_socket.py qa/tasks/admin_socket: subst in repo name 2016-12-15 13:35:02 -05:00
autotest.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
aver.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
blktrace.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
boto.cfg.template move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
calamari_nosetests.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
calamari_setup.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
ceph_client.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
ceph_deploy.py qa/tasks/ceph_deploy: gatherkeys before mgr deploy 2017-08-24 09:52:17 -04:00
ceph_fuse.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
ceph_manager.py qa/tasks/ceph_manager: revive osds before doing final rerr reset 2017-08-31 14:55:46 -04:00
ceph_objectstore_tool.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
ceph_test_case.py qa/ceph_test_case: support CephFS recovery pools 2017-08-30 09:02:44 -04:00
ceph.py qa/cephfs: Allow deferred fs creation 2017-08-30 09:02:44 -04:00
cephfs_test_runner.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
check_counter.py qa/tasks: add check_counter.py 2017-03-28 23:26:34 +01:00
cifs_mount.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
cram.py qa: update remaining ceph.com to download.ceph.com 2017-01-17 17:14:50 +01:00
create_verify_lfn_objects.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
devstack.py doc: fix the links to http://ceph.com/docs 2017-03-15 16:40:07 +08:00
die_on_err.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
divergent_priors2.py test,qa/workunits: fix a zillion tests 2017-06-28 10:52:49 -04:00
divergent_priors.py qa/tasks: use new reliable flush_pg_stats helper 2017-06-02 13:02:45 -04:00
dnsmasq.py qa: add task for dnsmasq configuration 2017-05-12 16:53:14 -04:00
dump_stuck.py qa/tasks/dump_stuck: fix dump_stuck test bug 2017-07-25 11:14:07 +00:00
ec_lost_unfound.py erasure-code: ruleset-* -> crush-* 2017-07-06 15:01:03 -04:00
exec_on_cleanup.py qa/tasks/exec_on_cleanup.py: add 2017-04-13 17:11:19 -04:00
filestore_idempotent.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
kclient.py tasks/kclient: apply timeout to umount 2017-02-02 15:09:48 +00:00
keystone.py qa/tasks/keystone: make possible to deploy Keystone on CentOS as well. 2017-08-13 23:14:40 +00:00
locktest.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
logrotate.conf move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
lost_unfound.py qa: fix the potential delay of pg state change 2017-08-25 17:07:37 +08:00
manypools.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
mds_creation_failure.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
mds_thrash.py qa: thrash max_mds and deactivate ranks 2017-07-06 22:29:41 -07:00
metadata.yaml move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
mon_clock_skew_check.py qa/tasks/mon_clock_skew_check: vastly simplify 2017-07-12 12:52:02 -04:00
mon_recovery.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
mon_seesaw.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
mon_thrash.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
multibench.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
object_source_down.py qa/tasks: use new reliable flush_pg_stats helper 2017-06-02 13:02:45 -04:00
omapbench.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
osd_backfill.py qa/tasks: use new reliable flush_pg_stats helper 2017-06-02 13:02:45 -04:00
osd_failsafe_enospc.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
osd_recovery.py qa/tasks: add a blacklist for flush_pg_stats() 2017-06-02 13:06:50 -04:00
peer.py qa/tasks: use new reliable flush_pg_stats helper 2017-06-02 13:02:45 -04:00
peering_speed_test.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
populate_rbd_pool.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
qemu.py Merge pull request #15860 from dillaman/wip-20168 2017-07-05 14:52:55 +03:00
rados.py erasure-code: ruleset-* -> crush-* 2017-07-06 15:01:03 -04:00
radosbench.py Merge pull request #16027 from liewegas/wip-crush-rule-class 2017-07-08 21:34:13 -05:00
radosbenchsweep.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
radosgw_admin_rest.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
radosgw_admin.py Test bytes_sent bugs. 2017-08-08 21:56:01 -04:00
rbd_fio.py qa/tasks/rbd_fio: bump default fio version to 2.21 2017-07-27 18:57:43 +02:00
rbd_fsx.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
rbd_mirror.py qa/tasks: rbd-mirror daemon not properly run in foreground mode 2017-07-14 10:32:28 -04:00
rbd.py qa/tasks/rbd.xfstests: take exclude list from yaml 2017-08-29 16:09:35 +02:00
rebuild_mondb.py qa/tasks/rebuild_mondb: update to address ceph-mgr changes 2017-05-28 09:59:50 +08:00
recovery_bench.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
reg11184.py test: reg11184 might not always find pg 2.0 prior to import 2017-07-26 09:46:15 -07:00
rep_lost_unfound_delete.py qa: fix the potential delay of pg state change 2017-08-25 17:07:37 +08:00
repair_test.py Merge pull request #16281 from badone/wip-PG-cluster-log-audit 2017-07-27 16:25:30 -05:00
resolve_stuck_peering.py qa/tasks/resolve_stuck_peering: start osd at end 2017-06-19 14:28:28 -04:00
rest_api.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
restart.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
rgw_logsocket.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
rgw_multi qa/rgw: add symlink to qa/tasks/rgw_multi 2017-05-17 14:48:55 -04:00
rgw_multisite_tests.py qa/rgw: add test config to rgw_multisite_tests task 2017-05-18 13:38:44 -04:00
rgw_multisite.py qa/rgw: enable 'rgw' application on created pools 2017-08-22 14:37:02 -04:00
rgw.py qa: create_cache_pool no longer runs 'pool application enable' 2017-08-29 10:01:04 -04:00
s3a_hadoop.py s3a task to test radosgw compatibility with hadoop s3a interface 2017-06-21 11:52:10 -07:00
s3readwrite.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
s3roundtrip.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
s3tests.py qa/rgw: disable lifecycle tests because of expiration failures 2017-08-02 11:06:35 -04:00
samba.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
scrub_test.py qa/tasks: use new reliable flush_pg_stats helper 2017-06-02 13:02:45 -04:00
scrub.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
swift.py tests: swift.py: tweak imports 2017-06-25 12:42:36 +02:00
systemd.py use sudo to check check health 2017-04-11 13:52:26 -07:00
tempest.py qa, rgw: Keystone's instances can be now accessed via non-local network interfaces. 2017-08-13 23:14:40 +00:00
teuthology_integration.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
tgt.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
thrash_pool_snaps.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
thrashosds-health.yaml qa/suites: escape the parenthesis of the whitelist text 2017-08-01 21:54:44 +08:00
thrashosds.py qa/tasks/ceph_manager: wait_for_all_up -> wait_for_all_osds_up 2017-07-27 12:10:26 -04:00
tox.py qa/tasks/keystone: make possible to deploy Keystone on CentOS as well. 2017-08-13 23:14:40 +00:00
userdata_setup.yaml scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
userdata_teardown.yaml scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
vstart_runner.py qa/cephfs: Allow deferred fs creation 2017-08-30 09:02:44 -04:00
watch_notify_same_primary.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
watch_notify_stress.py move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
workunit.py qa/tasks/workunit: allow alt basedir 2017-07-24 15:44:51 -04:00