summaryrefslogtreecommitdiffstats
path: root/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml')
-rw-r--r--qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml b/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml
new file mode 100644
index 00000000..a86e918e
--- /dev/null
+++ b/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml
@@ -0,0 +1,20 @@
+# Note this test is unlikely to exercise the code as expected in the future:
+# "It's too tricky to arrange inodes in session->caps. we don't know if it
+# still works in the future." -Zheng
+
+overrides:
+ ceph:
+ log-whitelist:
+ - MDS cache is too large
+ - \(MDS_CACHE_OVERSIZED\)
+tasks:
+- exec:
+ mon.a:
+ - "ceph tell mds.* config set mds_min_caps_per_client 1"
+- background_exec:
+ mon.a:
+ - "sleep 30 && ceph tell mds.* config set mds_cache_memory_limit 1"
+- exec:
+ client.0:
+ - ceph_test_trim_caps
+ - ceph_test_ino_release_cb