Re: [PATCH v5 06/12] generic: Add atomic write test using fio verify on file mixed mappings

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 22/08/2025 09:02, Ojaswin Mujoo wrote:
This test uses fio to first create a file with mixed mappings. Then it
does atomic writes using aio dio with parallel jobs to the same file
with mixed mappings. Finally, we perform a fio verify step to ensure
there is no data corruption or torn write.

The aim is to stress the FS block allocation and extent handling logic
to ensure it handles mixed mappings with RWF_ATOMIC correctly without
tearing or losing data.

Avoid doing overlapping parallel atomic writes because it might give
unexpected results. Use offset_increment=, size= fio options to achieve
this behavior.

Co-developed-by: Ritesh Harjani (IBM)<ritesh.list@xxxxxxxxx>
Signed-off-by: Ritesh Harjani (IBM)<ritesh.list@xxxxxxxxx>
Reviewed-by: Darrick J. Wong<djwong@xxxxxxxxxx>
Signed-off-by: Ojaswin Mujoo<ojaswin@xxxxxxxxxxxxx>

Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux