]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/suites/rbd: place cache file on tmpfs for xfstests 46597/head
authorIlya Dryomov <idryomov@gmail.com>
Sun, 24 Apr 2022 15:30:49 +0000 (17:30 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 9 Jun 2022 11:03:28 +0000 (13:03 +0200)
commit0c1e70c13348c2b109a3d4b04b6ba26c78dd23e8
tree01510c7673d5835027346df705aac277ad1d4c44
parenta1daf93a766aca02049dd61a699ae178b308c206
qa/suites/rbd: place cache file on tmpfs for xfstests

The RWL mode needs DAX and is dog slow otherwise -- qemu_xfstests.yaml
job always hits the 6 hour max_job_time limit.

As our tmpfs instance is limited and qemu_xfstests.yaml opens three
images at the same time, reduce the "big cache" size to 5G.  This facet
was added to iron out 32-bit head/tail pointer issues and 5G still does
the job there.

Going through the loop device is needed because tmpfs doesn't support
O_DIRECT.

Fixes: https://tracker.ceph.com/issues/55400
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 23759e003435499105d1076875fdef2ca7e55a80)
18 files changed:
qa/suites/rbd/pwl-cache/home/7-workloads/qemu_xfstests.yaml [deleted file]
qa/suites/rbd/pwl-cache/tmpfs/% [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/.qa [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/1-base [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/+ [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/.qa [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/fix-2.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/2-cluster/openstack.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/3-supported-random-distro$ [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/4-cache-path.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/.qa [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/rwl.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/5-cache-mode/ssd.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/.qa [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/1G.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/6-cache-size/5G.yaml [new file with mode: 0644]
qa/suites/rbd/pwl-cache/tmpfs/7-workloads/.qa [new symlink]
qa/suites/rbd/pwl-cache/tmpfs/7-workloads/qemu_xfstests.yaml [new file with mode: 0644]