[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <321f5de3-fbdf-4590-818f-9a88009746dd@oracle.com>
Date: Tue, 2 Sep 2025 16:10:25 +0100
From: John Garry <john.g.garry@...cle.com>
To: Ojaswin Mujoo <ojaswin@...ux.ibm.com>, Zorro Lang <zlang@...hat.com>,
fstests@...r.kernel.org
Cc: Ritesh Harjani <ritesh.list@...il.com>, djwong@...nel.org, tytso@....edu,
linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org
Subject: Re: [PATCH v5 06/12] generic: Add atomic write test using fio verify
on file mixed mappings
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@...il.com>
> Signed-off-by: Ritesh Harjani (IBM)<ritesh.list@...il.com>
> Reviewed-by: Darrick J. Wong<djwong@...nel.org>
> Signed-off-by: Ojaswin Mujoo<ojaswin@...ux.ibm.com>
Reviewed-by: John Garry <john.g.garry@...cle.com>
Powered by blists - more mailing lists