]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
suites/rbd: add EC pool variant for QEMU tests
authorJason Dillaman <dillaman@redhat.com>
Thu, 9 Jul 2015 14:37:57 +0000 (10:37 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jul 2015 14:37:57 +0000 (10:37 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
suites/rbd/qemu/cachepool/ec-cache.yaml [new file with mode: 0644]

diff --git a/suites/rbd/qemu/cachepool/ec-cache.yaml b/suites/rbd/qemu/cachepool/ec-cache.yaml
new file mode 100644 (file)
index 0000000..0231237
--- /dev/null
@@ -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