From 26d7537286eabb41e6e1bed88ec371dbff6b7cda Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Fri, 12 Apr 2013 18:45:10 -0700 Subject: [PATCH] rbd: add qemu-iotests 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 --- suites/rbd/singleton/all/qemu-iotests-no-cache.yaml | 11 +++++++++++ suites/rbd/singleton/all/qemu-iotests-writeback.yaml | 11 +++++++++++ .../rbd/singleton/all/qemu-iotests-writethrough.yaml | 12 ++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 suites/rbd/singleton/all/qemu-iotests-no-cache.yaml create mode 100644 suites/rbd/singleton/all/qemu-iotests-writeback.yaml create mode 100644 suites/rbd/singleton/all/qemu-iotests-writethrough.yaml 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 index 0000000000000..e6b71a0e2863c --- /dev/null +++ b/suites/rbd/singleton/all/qemu-iotests-no-cache.yaml @@ -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 index 0000000000000..81afb8234a704 --- /dev/null +++ b/suites/rbd/singleton/all/qemu-iotests-writeback.yaml @@ -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 index 0000000000000..1bb195a28a19b --- /dev/null +++ b/suites/rbd/singleton/all/qemu-iotests-writethrough.yaml @@ -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] -- 2.39.5