From e97b8650379b2e2d7ef242fedb5ab1ab345715a2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 11 Apr 2014 22:27:12 -0700 Subject: [PATCH] rbd: do most tests with a (small) cache pool in front Signed-off-by: Sage Weil --- suites/rbd/basic/cachepool/none.yaml | 0 suites/rbd/basic/cachepool/small.yaml | 11 +++++++++++ suites/rbd/librbd/cachepool/none.yaml | 0 suites/rbd/librbd/cachepool/small.yaml | 11 +++++++++++ suites/rbd/thrash/thrashers/cache.yaml | 18 ++++++++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 suites/rbd/basic/cachepool/none.yaml create mode 100644 suites/rbd/basic/cachepool/small.yaml create mode 100644 suites/rbd/librbd/cachepool/none.yaml create mode 100644 suites/rbd/librbd/cachepool/small.yaml create mode 100644 suites/rbd/thrash/thrashers/cache.yaml diff --git a/suites/rbd/basic/cachepool/none.yaml b/suites/rbd/basic/cachepool/none.yaml new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/suites/rbd/basic/cachepool/small.yaml b/suites/rbd/basic/cachepool/small.yaml new file mode 100644 index 0000000000000..f8ed11040fa42 --- /dev/null +++ b/suites/rbd/basic/cachepool/small.yaml @@ -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 index 0000000000000..e69de29bb2d1d diff --git a/suites/rbd/librbd/cachepool/small.yaml b/suites/rbd/librbd/cachepool/small.yaml new file mode 100644 index 0000000000000..f8ed11040fa42 --- /dev/null +++ b/suites/rbd/librbd/cachepool/small.yaml @@ -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 index 0000000000000..38ba92ab5ee07 --- /dev/null +++ b/suites/rbd/thrash/thrashers/cache.yaml @@ -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 -- 2.39.5