Re: [PATCH v3 05/13] generic/1226: Add atomic write test using fio crc check verifier
From: Ojaswin Mujoo
Date: Fri Jul 25 2025 - 02:28:19 EST
On Wed, Jul 23, 2025 at 05:25:41PM +0100, John Garry wrote:
> On 23/07/2025 14:51, Ojaswin Mujoo wrote:
> > > > No, its just something i hardcoded for that particular run. This patch
> > > > doesn't enforce hardware only atomic writes
> > > If we are to test this for XFS then we need to ensure that HW atomics are
> > > available.
> > Why is that? Now with the verification step happening after writes,
> > software atomic writes should also pass this test since there are no
> > racing writes to the verify reads.
>
> Sure, but racing software atomic writes against other software atomic writes
> is not safe.
>
> Thanks,
> John
What do you mean by not safe? Does it mean the test can fail?