From: Patrick Donnelly Date: Wed, 23 Jun 2021 16:29:08 +0000 (-0700) Subject: qa: exercise metadata replication in workloads X-Git-Tag: v18.0.0~578^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0208513273a41107f0ae9b31d8dc040eb2a68cfd;p=ceph.git qa: exercise metadata replication in workloads Fixes: https://tracker.ceph.com/issues/51332 Signed-off-by: Patrick Donnelly --- diff --git a/qa/suites/fs/workload/ranks/3.yaml b/qa/suites/fs/workload/ranks/3.yaml deleted file mode 100644 index 9ed043c14849..000000000000 --- a/qa/suites/fs/workload/ranks/3.yaml +++ /dev/null @@ -1,9 +0,0 @@ -overrides: - ceph: - cephfs: - max_mds: 3 - check-counter: - counters: - mds: - - mds.exported - - mds.imported diff --git a/qa/suites/fs/workload/ranks/5.yaml b/qa/suites/fs/workload/ranks/5.yaml deleted file mode 100644 index ed89cef3a862..000000000000 --- a/qa/suites/fs/workload/ranks/5.yaml +++ /dev/null @@ -1,9 +0,0 @@ -overrides: - ceph: - cephfs: - max_mds: 5 - check-counter: - counters: - mds: - - mds.exported - - mds.imported diff --git a/qa/suites/fs/workload/ranks/multi/% b/qa/suites/fs/workload/ranks/multi/% new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/qa/suites/fs/workload/ranks/multi/n/3.yaml b/qa/suites/fs/workload/ranks/multi/n/3.yaml new file mode 100644 index 000000000000..9ed043c14849 --- /dev/null +++ b/qa/suites/fs/workload/ranks/multi/n/3.yaml @@ -0,0 +1,9 @@ +overrides: + ceph: + cephfs: + max_mds: 3 + check-counter: + counters: + mds: + - mds.exported + - mds.imported diff --git a/qa/suites/fs/workload/ranks/multi/n/5.yaml b/qa/suites/fs/workload/ranks/multi/n/5.yaml new file mode 100644 index 000000000000..ed89cef3a862 --- /dev/null +++ b/qa/suites/fs/workload/ranks/multi/n/5.yaml @@ -0,0 +1,9 @@ +overrides: + ceph: + cephfs: + max_mds: 5 + check-counter: + counters: + mds: + - mds.exported + - mds.imported diff --git a/qa/suites/fs/workload/ranks/multi/replication/always.yaml b/qa/suites/fs/workload/ranks/multi/replication/always.yaml new file mode 100644 index 000000000000..099ced6637fb --- /dev/null +++ b/qa/suites/fs/workload/ranks/multi/replication/always.yaml @@ -0,0 +1,18 @@ +# To exercise lock/witness code paths more regularly, try to get all +# directories replicated. +overrides: + ceph: + conf: + mds: + mds_bal_replicate_threshold: 1 +# Note: dir_update is only sent by an MDS trying to replicate a dir. +# dir_update is always sent for root, so the count should be more than 2 + check-counter: + counters: + mds: + - + name: mds_cache.dir_update + min: 3 + - + name: mds_cache.dir_update_receipt + min: 3 diff --git a/qa/suites/fs/workload/ranks/multi/replication/default.yaml b/qa/suites/fs/workload/ranks/multi/replication/default.yaml new file mode 100644 index 000000000000..272977942b52 --- /dev/null +++ b/qa/suites/fs/workload/ranks/multi/replication/default.yaml @@ -0,0 +1 @@ +# Use default (8000)