From 3da4a9401c887f9fa92d090786c5ef2121665bd2 Mon Sep 17 00:00:00 2001 From: Yin Congmin Date: Fri, 12 Nov 2021 16:54:31 +0800 Subject: [PATCH] qa/suites/rbd/persistent-writeback-cache: add test case Add the test case which size is 8GB, So that some problems that occur only in test scenarios above 4GB may be found in this test. For example, the variables of 32-bit may be unexpected value when it operates with a 64 bit value. Signed-off-by: Yin Congmin --- .../4-pool/big-cache.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 qa/suites/rbd/persistent-writeback-cache/4-pool/big-cache.yaml diff --git a/qa/suites/rbd/persistent-writeback-cache/4-pool/big-cache.yaml b/qa/suites/rbd/persistent-writeback-cache/4-pool/big-cache.yaml new file mode 100644 index 0000000000000..7ac3f31da0ce4 --- /dev/null +++ b/qa/suites/rbd/persistent-writeback-cache/4-pool/big-cache.yaml @@ -0,0 +1,15 @@ +overrides: + ceph: + conf: + client: + rbd_persistent_cache_path: /home/ubuntu/cephtest/write_back_cache + rbd_persistent_cache_size: 8589934592 + rbd_plugins: pwl_cache + rbd_default_features: 61 +tasks: +- exec: + client.0: + - "mkdir -m 777 /home/ubuntu/cephtest/write_back_cache" +- exec_on_cleanup: + client.0: + - "rm -rf /home/ubuntu/cephtest/write_back_cache" -- 2.39.5