mbox series

[v3,0/3] fix up generic dmlogwrites tests to work with XFS

Message ID 20200901134728.185353-1-bfoster@redhat.com (mailing list archive)
Headers show
Series fix up generic dmlogwrites tests to work with XFS | expand

Message

Brian Foster Sept. 1, 2020, 1:47 p.m. UTC
Hi all,

This version removes the discard zeroing check as Christoph points out
that discard behavior is generally not predictable. The remaining
generic dm-logwrites tests are still updated to use dm-thinp such that
discards from the recovery tool clear block ranges reasonably reliably.
This allows the tests to function correctly on filesystems like XFS
while a more generic solution is investigated.

Brian

v3:
- Re-add dm-thinp changes.
- Drop discard checks (from v1) and XFS disablement (from v2).
- Use _require_scratch_nocheck in generic/470 to avoid spurious repair
  noise now that the test no longer runs mkfs on the scratch dev.
v2: https://lore.kernel.org/fstests/20200827145329.435398-1-bfoster@redhat.com/
- Drop all dmthinp changes. Unconditionally disable tests on XFS.
v1: https://lore.kernel.org/fstests/20200826143815.360002-2-bfoster@redhat.com/

Brian Foster (3):
  generic/455: use thin volume for dmlogwrites target device
  generic/457: use thin volume for dmlogwrites target device
  generic/470: use thin volume for dmlogwrites target device

 tests/generic/455 | 36 ++++++++++++++++++++++--------------
 tests/generic/457 | 33 +++++++++++++++++++++------------
 tests/generic/470 | 23 +++++++++++++++++------
 3 files changed, 60 insertions(+), 32 deletions(-)