[PATCH v3 0/3] atomic writes tests (part 2)

Catherine Hoang
2025-06-05T04:01:39Z

Hi all,

This series contains the tests from patch 6 of the previous atomic writes test series.
https://lore.kernel.org/linux-xfs/20250520013400.36830-1-catherine.hoang@oracle.com/

Relevant changes from v2->v3:
- add a new _require_scratch_write_atomic_multi_fsblock function
- split xfs tests into a separate patch
- split mixed mapping test into two separate tests (reflink and non-reflink)
- generic/1222: check that required xfs_io commands are present when using
scsi_debug
- generic/1225: add more tests for unwritten and interweaved mappings

This series is based on for-next at the time of sending.

Catherine Hoang (3):
common/atomicwrites: add helper for multi block atomic writes
generic: various atomic write tests with scsi_debug
xfs: more multi-block atomic writes tests

common/atomicwrites | 31 ++++++++++
tests/generic/1222 | 89 ++++++++++++++++++++++++++++
tests/generic/1222.out | 10 ++++
tests/generic/1223 | 67 +++++++++++++++++++++
tests/generic/1223.out | 9 +++
tests/generic/1224 | 86 +++++++++++++++++++++++++++
tests/generic/1224.out | 16 ++++++
tests/generic/1225 | 128 +++++++++++++++++++++++++++++++++++++++++
tests/generic/1225.out | 21 +++++++
tests/xfs/1216 | 68 ++++++++++++++++++++++
tests/xfs/1216.out | 9 +++
tests/xfs/1217 | 71 +++++++++++++++++++++++
tests/xfs/1217.out | 3 +
tests/xfs/1218 | 60 +++++++++++++++++++
tests/xfs/1218.out | 15 +++++
15 files changed, 683 insertions(+)
create mode 100755 tests/generic/1222
create mode 100644 tests/generic/1222.out
create mode 100755 tests/generic/1223
create mode 100644 tests/generic/1223.out
create mode 100755 tests/generic/1224
create mode 100644 tests/generic/1224.out
create mode 100755 tests/generic/1225
create mode 100644 tests/generic/1225.out
create mode 100755 tests/xfs/1216
create mode 100644 tests/xfs/1216.out
create mode 100755 tests/xfs/1217
create mode 100644 tests/xfs/1217.out
create mode 100755 tests/xfs/1218
create mode 100644 tests/xfs/1218.out

--
2.34.1