From ecee799454e4d46949439a3fa4949f7c20c6a3e2 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 25 Mar 2021 13:19:56 -0700 Subject: [PATCH] qa: move ino_release_cb to libcephfs sub-suite It is not testing a bug. Also, fix cap recall configs so this test is properly triggered. Fixes: https://tracker.ceph.com/issues/49500 Signed-off-by: Patrick Donnelly (cherry picked from commit 892b8410bcc579df0c7ba194c50dda48a6bb4e33) --- .../client_trim_caps/tasks/trim-i24137.yaml | 1 - .../fs/libcephfs/tasks/ino_release_cb.yaml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml diff --git a/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml b/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml index 7ef15b31f9b7d..098f7d053944a 100644 --- a/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml +++ b/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml @@ -12,4 +12,3 @@ tasks: - exec: client.0: - ceph_test_trim_caps - - ceph_test_ino_release_cb diff --git a/qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml b/qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml new file mode 100644 index 0000000000000..5b524748975c1 --- /dev/null +++ b/qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml @@ -0,0 +1,19 @@ +overrides: + ceph: + conf: + client: + debug ms: 1 + debug client: 20 + mds: + debug ms: 1 + debug mds: 20 +tasks: +- exec: + mon.a: + - ceph config set mds mds_min_caps_per_client 1 +- background_exec: + mon.a: + - "sleep 30 && ceph config set mds mds_max_caps_per_client 1" +- exec: + client.0: + - ceph_test_ino_release_cb -- 2.39.5