Re: [RFC PATCH 0/8] xfs: single block atomic writes for buffered IO

John Garry
2025-11-17T11:01:47Z

On 16/11/2025 08:11, Dave Chinner wrote:
>> This patch set focuses on HW accelerated single block atomic writes with
>> buffered IO, to get some early reviews on the core design.
> What hardware acceleration? Hardware atomic writes are do not make
> IO faster; they only change IO failure semantics in certain corner
> cases.

I think that he references using REQ_ATOMIC-based bio vs xfs
software-based atomic writes (which reuse the CoW infrastructure). And
the former is considerably faster from my testing (for DIO, obvs). But
the latter has not been optimized.