mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
Merge pull request #46045 from idryomov/wip-qa-rwl-on-tmpfs
qa/suites/rbd: place cache file on tmpfs for xfstests Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
This commit is contained in:
commit
9324b49ebb
@ -1 +0,0 @@
|
||||
../thrash/base
|
@ -1,15 +0,0 @@
|
||||
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"
|
@ -1,15 +0,0 @@
|
||||
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"
|
@ -1 +0,0 @@
|
||||
../../librbd/workloads/c_api_tests_with_defaults.yaml
|
1
qa/suites/rbd/pwl-cache/home/1-base
Symbolic link
1
qa/suites/rbd/pwl-cache/home/1-base
Symbolic link
@ -0,0 +1 @@
|
||||
../../basic/base/
|
13
qa/suites/rbd/pwl-cache/home/4-cache-path.yaml
Normal file
13
qa/suites/rbd/pwl-cache/home/4-cache-path.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
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"
|
5
qa/suites/rbd/pwl-cache/home/6-cache-size/1G.yaml
Normal file
5
qa/suites/rbd/pwl-cache/home/6-cache-size/1G.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_size: 1073741824
|
5
qa/suites/rbd/pwl-cache/home/6-cache-size/8G.yaml
Normal file
5
qa/suites/rbd/pwl-cache/home/6-cache-size/8G.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_size: 8589934592
|
1
qa/suites/rbd/pwl-cache/home/7-workloads/.qa
Symbolic link
1
qa/suites/rbd/pwl-cache/home/7-workloads/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
@ -0,0 +1 @@
|
||||
../../../librbd/workloads/c_api_tests_with_defaults.yaml
|
0
qa/suites/rbd/pwl-cache/tmpfs/%
Normal file
0
qa/suites/rbd/pwl-cache/tmpfs/%
Normal file
1
qa/suites/rbd/pwl-cache/tmpfs/.qa
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
1
qa/suites/rbd/pwl-cache/tmpfs/1-base
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/1-base
Symbolic link
@ -0,0 +1 @@
|
||||
../../basic/base/
|
0
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/+
Normal file
0
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/+
Normal file
1
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/.qa
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
3
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/fix-2.yaml
Normal file
3
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/fix-2.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
roles:
|
||||
- [mon.a, mgr.x, osd.0, osd.1]
|
||||
- [mon.b, mgr.y, osd.2, osd.3, client.0]
|
4
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/openstack.yaml
Normal file
4
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/openstack.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
openstack:
|
||||
- volumes: # attached to each instance
|
||||
count: 4
|
||||
size: 10 # GB
|
1
qa/suites/rbd/pwl-cache/tmpfs/3-supported-random-distro$
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/3-supported-random-distro$
Symbolic link
@ -0,0 +1 @@
|
||||
.qa/distros/supported-random-distro$
|
22
qa/suites/rbd/pwl-cache/tmpfs/4-cache-path.yaml
Normal file
22
qa/suites/rbd/pwl-cache/tmpfs/4-cache-path.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_path: /home/ubuntu/cephtest/rbd-pwl-cache
|
||||
rbd_plugins: pwl_cache
|
||||
tasks:
|
||||
- exec:
|
||||
client.0:
|
||||
- "mkdir /home/ubuntu/cephtest/tmpfs"
|
||||
- "mkdir /home/ubuntu/cephtest/rbd-pwl-cache"
|
||||
- "sudo mount -t tmpfs -o size=20G tmpfs /home/ubuntu/cephtest/tmpfs"
|
||||
- "truncate -s 20G /home/ubuntu/cephtest/tmpfs/loopfile"
|
||||
- "mkfs.ext4 /home/ubuntu/cephtest/tmpfs/loopfile"
|
||||
- "sudo mount -o loop /home/ubuntu/cephtest/tmpfs/loopfile /home/ubuntu/cephtest/rbd-pwl-cache"
|
||||
- "sudo chmod 777 /home/ubuntu/cephtest/rbd-pwl-cache"
|
||||
- exec_on_cleanup:
|
||||
client.0:
|
||||
- "sudo umount /home/ubuntu/cephtest/rbd-pwl-cache"
|
||||
- "sudo umount /home/ubuntu/cephtest/tmpfs"
|
||||
- "rm -rf /home/ubuntu/cephtest/rbd-pwl-cache"
|
||||
- "rm -rf /home/ubuntu/cephtest/tmpfs"
|
1
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/.qa
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
5
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/rwl.yaml
Normal file
5
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/rwl.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_mode: rwl
|
5
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/ssd.yaml
Normal file
5
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/ssd.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_mode: ssd
|
1
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/.qa
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
5
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/1G.yaml
Normal file
5
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/1G.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_size: 1073741824
|
5
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/5G.yaml
Normal file
5
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/5G.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
rbd_persistent_cache_size: 5368709120
|
1
qa/suites/rbd/pwl-cache/tmpfs/7-workloads/.qa
Symbolic link
1
qa/suites/rbd/pwl-cache/tmpfs/7-workloads/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
Loading…
Reference in New Issue
Block a user