From 27e05df81ab3f81f055d657886b46e32b83a5483 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 9 Jul 2015 10:37:57 -0400 Subject: [PATCH] suites/rbd: add EC pool variant for QEMU tests Signed-off-by: Jason Dillaman --- suites/rbd/qemu/cachepool/ec-cache.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 suites/rbd/qemu/cachepool/ec-cache.yaml diff --git a/suites/rbd/qemu/cachepool/ec-cache.yaml b/suites/rbd/qemu/cachepool/ec-cache.yaml new file mode 100644 index 0000000000000..0231237a415ee --- /dev/null +++ b/suites/rbd/qemu/cachepool/ec-cache.yaml @@ -0,0 +1,14 @@ +tasks: +- exec: + client.0: + - ceph osd erasure-code-profile set teuthologyprofile ruleset-failure-domain=osd m=1 k=2 + - ceph osd pool delete rbd rbd --yes-i-really-really-mean-it + - ceph osd pool create rbd 4 4 erasure teuthologyprofile + - ceph osd pool create cache 4 + - ceph osd tier add rbd cache + - ceph osd tier cache-mode cache writeback + - ceph osd tier set-overlay rbd cache + - ceph osd pool set cache hit_set_type bloom + - ceph osd pool set cache hit_set_count 8 + - ceph osd pool set cache hit_set_period 60 + - ceph osd pool set cache target_max_objects 250 -- 2.39.5