Rename to pwl-cache, introduce home subdirectory and 4-cache-path.yaml.
No functional changes.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
3475f9ef07af22c2efc427546d01dff3176f9240)
Conflicts:
qa/suites/rbd/pwl-cache/home/2-cluster/.qa [ commit
1f714da81440 ("qa: fix or add missing .qa links") not in
pacific ]
qa/suites/rbd/pwl-cache/home/5-cache-mode/.qa [ ditto ]
+++ /dev/null
-../.qa/
\ No newline at end of file
+++ /dev/null
-../thrash/base
\ No newline at end of file
+++ /dev/null
-../.qa/
\ No newline at end of file
+++ /dev/null
-roles:
-- [mon.a, mgr.x, osd.0, osd.1]
-- [mon.b, mgr.y, osd.2, osd.3, client.0]
+++ /dev/null
-openstack:
- - volumes: # attached to each instance
- count: 4
- size: 10 # GB
+++ /dev/null
-.qa/distros/supported-random-distro$
\ No newline at end of file
+++ /dev/null
-overrides:
- ceph:
- conf:
- client:
- rbd_persistent_cache_path: /home/ubuntu/cephtest/write_back_cache
- rbd_persistent_cache_size: 8589934592
- rbd_plugins: pwl_cache
- rbd_default_features: 61
-tasks:
-- exec:
- client.0:
- - "mkdir -m 777 /home/ubuntu/cephtest/write_back_cache"
-- exec_on_cleanup:
- client.0:
- - "rm -rf /home/ubuntu/cephtest/write_back_cache"
+++ /dev/null
-overrides:
- ceph:
- conf:
- client:
- rbd_persistent_cache_path: /home/ubuntu/cephtest/write_back_cache
- rbd_persistent_cache_size: 1073741824
- rbd_plugins: pwl_cache
- rbd_default_features: 61
-tasks:
-- exec:
- client.0:
- - "mkdir -m 777 /home/ubuntu/cephtest/write_back_cache"
-- exec_on_cleanup:
- client.0:
- - "rm -rf /home/ubuntu/cephtest/write_back_cache"
+++ /dev/null
-overrides:
- ceph:
- conf:
- client:
- rbd_persistent_cache_mode: rwl
+++ /dev/null
-overrides:
- ceph:
- conf:
- client:
- rbd_persistent_cache_mode: ssd
+++ /dev/null
-../.qa/
\ No newline at end of file
+++ /dev/null
-../../librbd/workloads/c_api_tests_with_defaults.yaml
\ No newline at end of file
+++ /dev/null
-tasks:
-- rbd_fio:
- client.0:
- fio-io-size: 100%
- formats: [2]
- io-engine: rbd
- rw: randwrite
- runtime: 600
+++ /dev/null
-tasks:
-- qemu:
- client.0:
- test: qa/run_xfstests_qemu.sh
- type: block
- cpus: 4
- memory: 4096
- disks: 3
+++ /dev/null
-tasks:
-- rbd.create_image:
- client.0:
- image_name: testimage
- image_size: 10
- image_format: 2
-- exec:
- client.0:
- - "timeout 10s rbd bench --io-pattern rand --io-type write testimage || true"
- - "rbd bench --io-type write --io-pattern rand --io-total 32M testimage"
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+../../basic/base/
\ No newline at end of file
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+roles:
+- [mon.a, mgr.x, osd.0, osd.1]
+- [mon.b, mgr.y, osd.2, osd.3, client.0]
--- /dev/null
+openstack:
+ - volumes: # attached to each instance
+ count: 4
+ size: 10 # GB
--- /dev/null
+.qa/distros/supported-random-distro$
\ No newline at end of file
--- /dev/null
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd_persistent_cache_path: /home/ubuntu/cephtest/rbd-pwl-cache
+ rbd_plugins: pwl_cache
+tasks:
+- exec:
+ client.0:
+ - "mkdir -m 777 /home/ubuntu/cephtest/rbd-pwl-cache"
+- exec_on_cleanup:
+ client.0:
+ - "rm -rf /home/ubuntu/cephtest/rbd-pwl-cache"
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd_persistent_cache_mode: rwl
--- /dev/null
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd_persistent_cache_mode: ssd
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd_persistent_cache_size: 1073741824
--- /dev/null
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd_persistent_cache_size: 8589934592
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+../../../librbd/workloads/c_api_tests_with_defaults.yaml
\ No newline at end of file
--- /dev/null
+tasks:
+- rbd_fio:
+ client.0:
+ fio-io-size: 100%
+ formats: [2]
+ io-engine: rbd
+ rw: randwrite
+ runtime: 600
--- /dev/null
+tasks:
+- qemu:
+ client.0:
+ test: qa/run_xfstests_qemu.sh
+ type: block
+ cpus: 4
+ memory: 4096
+ disks: 3
--- /dev/null
+tasks:
+- rbd.create_image:
+ client.0:
+ image_name: testimage
+ image_size: 10
+ image_format: 2
+- exec:
+ client.0:
+ - "timeout 10s rbd bench --io-pattern rand --io-type write testimage || true"
+ - "rbd bench --io-type write --io-pattern rand --io-total 32M testimage"