]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/suites/rbd: place cache file on tmpfs for xfstests 46045/head
authorIlya Dryomov <idryomov@gmail.com>
Sun, 24 Apr 2022 15:30:49 +0000 (17:30 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 3 Jun 2022 17:20:37 +0000 (19:20 +0200)
commit23759e003435499105d1076875fdef2ca7e55a80
treecaaf4eccb18388f279c277b5d8ef6e3c3f0f0b3f
parent3475f9ef07af22c2efc427546d01dff3176f9240
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>
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]