These are the tests we were using to verify that filesystems are not tearing multi fs block atomic writes. Infact some of the tests like generic/772 actually helped us catch and fix issues in ext4's early implementations of multi fs block atomic writes and hence we feel these tests are useful to have in xfstests. We have tested these with scsi debug as well as a real nvme device supporting multi fs block atomic writes. Thoughts and suggestions are welcome! (This is rebased over Darrick's atomic write tests: https://lore.kernel.org/fstests/20250605040122.63131-1-catherine.hoang@xxxxxxxxxx/T/#t) Ojaswin Mujoo (7): common/rc: Add a helper to run fsx on a given file ltp/fsx.c: Add atomic writes support to fsx generic/770: Add atomic write multi-fsblock O_[D]SYNC tests generic/771: Stress fsx with atomic writes enabled generic/772: Add sudden shutdown tests for multi block atomic writes ext4/063: Atomic write test for extent split across leaf nodes ext4/064: Add atomic write tests for journal credit calculation Ritesh Harjani (IBM) (5): common/preamble: Fix fsx for ext4 with bigalloc generic/767: Add atomic write test using fio crc check verifier generic/769: Add atomic write test using fio verify on file mixed mappings ext4/061: Atomic writes stress test for bigalloc using fio crc verifier ext4/062: Atomic writes test for bigalloc using fio crc verifier on multiple files common/preamble | 16 ++ common/rc | 21 ++- ltp/fsx.c | 105 +++++++++++- tests/ext4/061 | 107 +++++++++++++ tests/ext4/061.out | 2 + tests/ext4/062 | 131 +++++++++++++++ tests/ext4/062.out | 2 + tests/ext4/063 | 125 +++++++++++++++ tests/ext4/063.out | 2 + tests/ext4/064 | 75 +++++++++ tests/ext4/064.out | 2 + tests/generic/767 | 84 ++++++++++ tests/generic/767.out | 2 + tests/generic/769 | 101 ++++++++++++ tests/generic/769.out | 2 + tests/generic/770 | 161 +++++++++++++++++++ tests/generic/770.out | 2 + tests/generic/771 | 49 ++++++ tests/generic/771.out | 2 + tests/generic/772 | 360 ++++++++++++++++++++++++++++++++++++++++++ tests/generic/772.out | 2 + 21 files changed, 1345 insertions(+), 8 deletions(-) create mode 100755 tests/ext4/061 create mode 100644 tests/ext4/061.out create mode 100755 tests/ext4/062 create mode 100644 tests/ext4/062.out create mode 100755 tests/ext4/063 create mode 100644 tests/ext4/063.out create mode 100755 tests/ext4/064 create mode 100644 tests/ext4/064.out create mode 100755 tests/generic/767 create mode 100644 tests/generic/767.out create mode 100755 tests/generic/769 create mode 100644 tests/generic/769.out create mode 100755 tests/generic/770 create mode 100644 tests/generic/770.out create mode 100755 tests/generic/771 create mode 100644 tests/generic/771.out create mode 100755 tests/generic/772 create mode 100644 tests/generic/772.out -- 2.49.0