]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: add read flags test with each cache mode
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 20 May 2013 18:44:00 +0000 (11:44 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 20 May 2013 18:44:00 +0000 (11:44 -0700)
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
suites/rbd/singleton/all/read-flags-no-cache.yaml [new file with mode: 0644]
suites/rbd/singleton/all/read-flags-writeback.yaml [new file with mode: 0644]
suites/rbd/singleton/all/read-flags-writethrough.yaml [new file with mode: 0644]

diff --git a/suites/rbd/singleton/all/read-flags-no-cache.yaml b/suites/rbd/singleton/all/read-flags-no-cache.yaml
new file mode 100644 (file)
index 0000000..f7d4445
--- /dev/null
@@ -0,0 +1,11 @@
+roles:
+- [mon.a, osd.0, osd.1, client.0]
+tasks:
+- install:
+- ceph:
+    conf:
+      client:
+        rbd cache: false
+- workunit:
+    clients:
+      all: [rbd/read-flags.sh]
diff --git a/suites/rbd/singleton/all/read-flags-writeback.yaml b/suites/rbd/singleton/all/read-flags-writeback.yaml
new file mode 100644 (file)
index 0000000..f25be79
--- /dev/null
@@ -0,0 +1,11 @@
+roles:
+- [mon.a, osd.0, osd.1, client.0]
+tasks:
+- install:
+- ceph:
+    conf:
+      client:
+        rbd cache: true
+- workunit:
+    clients:
+      all: [rbd/read-flags.sh]
diff --git a/suites/rbd/singleton/all/read-flags-writethrough.yaml b/suites/rbd/singleton/all/read-flags-writethrough.yaml
new file mode 100644 (file)
index 0000000..80d7b42
--- /dev/null
@@ -0,0 +1,12 @@
+roles:
+- [mon.a, osd.0, osd.1, client.0]
+tasks:
+- install:
+- ceph:
+    conf:
+      client:
+        rbd cache: true
+        rbd cache max dirty: 0
+- workunit:
+    clients:
+      all: [rbd/read-flags.sh]