]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: do most tests with a (small) cache pool in front
authorSage Weil <sage@inktank.com>
Sat, 12 Apr 2014 05:27:12 +0000 (22:27 -0700)
committerSage Weil <sage@inktank.com>
Fri, 18 Apr 2014 16:51:17 +0000 (09:51 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
suites/rbd/basic/cachepool/none.yaml [new file with mode: 0644]
suites/rbd/basic/cachepool/small.yaml [new file with mode: 0644]
suites/rbd/librbd/cachepool/none.yaml [new file with mode: 0644]
suites/rbd/librbd/cachepool/small.yaml [new file with mode: 0644]
suites/rbd/thrash/thrashers/cache.yaml [new file with mode: 0644]

diff --git a/suites/rbd/basic/cachepool/none.yaml b/suites/rbd/basic/cachepool/none.yaml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/rbd/basic/cachepool/small.yaml b/suites/rbd/basic/cachepool/small.yaml
new file mode 100644 (file)
index 0000000..f8ed110
--- /dev/null
@@ -0,0 +1,11 @@
+tasks:
+- exec:
+    client.0:
+      - 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
diff --git a/suites/rbd/librbd/cachepool/none.yaml b/suites/rbd/librbd/cachepool/none.yaml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/rbd/librbd/cachepool/small.yaml b/suites/rbd/librbd/cachepool/small.yaml
new file mode 100644 (file)
index 0000000..f8ed110
--- /dev/null
@@ -0,0 +1,11 @@
+tasks:
+- exec:
+    client.0:
+      - 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
diff --git a/suites/rbd/thrash/thrashers/cache.yaml b/suites/rbd/thrash/thrashers/cache.yaml
new file mode 100644 (file)
index 0000000..38ba92a
--- /dev/null
@@ -0,0 +1,18 @@
+tasks:
+- install:
+- ceph:
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+- exec:
+    client.0:
+      - 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
+- thrashosds:
+    timeout: 1200