Re: [PATCH v4 10/11] ext4: Atomic writes test for bigalloc using fio crc verifier on multiple files

From: John Garry
Date: Wed Aug 13 2025 - 09:48:36 EST


On 10/08/2025 14:42, Ojaswin Mujoo wrote:
From: "Ritesh Harjani (IBM)"<ritesh.list@xxxxxxxxx>

Brute force all possible blocksize clustersize combination on a bigalloc
filesystem for stressing atomic write using fio data crc verifier. We run
multiple threads in parallel with each job writing to its own file. The
parallel jobs running on a constrained filesystem size ensure that we
stress the ext4 allocator to allocate contiguous extents.

This test might do overlapping atomic writes but that should be okay
since overlapping parallel hardware atomic writes don't cause tearing as
long as io size is the same for all writes.

Signed-off-by: Ritesh Harjani (IBM)<ritesh.list@xxxxxxxxx>
Reviewed-by: Darrick J. Wong<djwong@xxxxxxxxxx>
Signed-off-by: Ojaswin Mujoo<ojaswin@xxxxxxxxxxxxx>
---
tests/ext4/062 | 176 +++++++++++++++++++++++++++++++++++++++++++++
tests/ext4/062.out | 2 +
2 files changed, 178 insertions(+)
create mode 100755 tests/ext4/062
create mode 100644 tests/ext4/062.out

Is the only difference to 061 that we have multiple files (and not a single file)?

Thanks,
John