]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: make continuous export-diff test actually work 52148/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 16 Jun 2023 12:01:52 +0000 (14:01 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 21 Jun 2023 12:56:30 +0000 (14:56 +0200)
commit9486e95db9be21fc8943421d32131b9edb9d2bb9
tree4b0feee508ad3bcfdbbf34f7d6228c8840103f09
parent7b50768227d5896ad92f32d87511b5a30fc27c88
qa/workunits/rbd: make continuous export-diff test actually work

The current version is pretty useless:

- "rbd bench" writes the same byte (0xff) over and over again, so
  almost all checksumming is in vain
- snapshots are taken in a steady state (i.e. not under I/O), so no
  race conditions can get exposed
- even with these caveats, it's not wired up into the suite

Redo this workunit to be a reliable reproducer for the issue fixed
in the previous commit and wire it up for both krbd and rbd-nbd.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit acb270a3dd07211f06aa11f8792a333f3a1b796d)
qa/suites/krbd/thrash/workloads/krbd_diff_continuous.yaml [new file with mode: 0644]
qa/suites/rbd/nbd/workloads/rbd_nbd_diff_continuous.yaml [new file with mode: 0644]
qa/workunits/rbd/diff_continuous.sh