]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: add qemu-iotests
authorJosh Durgin <josh.durgin@inktank.com>
Sat, 13 Apr 2013 01:45:10 +0000 (18:45 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 13 Apr 2013 01:46:47 +0000 (18:46 -0700)
Put these in the singleton collection since they have to be run as
client.admin, which is possible when the client and monitor are on the
same host.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
suites/rbd/singleton/all/qemu-iotests-no-cache.yaml [new file with mode: 0644]
suites/rbd/singleton/all/qemu-iotests-writeback.yaml [new file with mode: 0644]
suites/rbd/singleton/all/qemu-iotests-writethrough.yaml [new file with mode: 0644]

diff --git a/suites/rbd/singleton/all/qemu-iotests-no-cache.yaml b/suites/rbd/singleton/all/qemu-iotests-no-cache.yaml
new file mode 100644 (file)
index 0000000..e6b71a0
--- /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/qemu-iotests.sh]
diff --git a/suites/rbd/singleton/all/qemu-iotests-writeback.yaml b/suites/rbd/singleton/all/qemu-iotests-writeback.yaml
new file mode 100644 (file)
index 0000000..81afb82
--- /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/qemu-iotests.sh]
diff --git a/suites/rbd/singleton/all/qemu-iotests-writethrough.yaml b/suites/rbd/singleton/all/qemu-iotests-writethrough.yaml
new file mode 100644 (file)
index 0000000..1bb195a
--- /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/qemu-iotests.sh]