Re: [PATCH 00/21] block atomic writes

Bart Van Assche
2023-09-29T14:58:29Z

On 9/29/23 03:27, John Garry wrote:
> The atomic writes feature requires dedicated HW support, like
> SCSI WRITE_ATOMIC_16 command.

This is not correct. Log-structured filesystems can implement atomic
writes without support for atomic writes in the block device(s) used
by the filesystem. See also the F2FS_IOC_*_ATOMIC_WRITE ioctls. This
being said, I hope that atomic write support will be added in the
block layer and also that a single interface will be supported by all
filesystems.

Thanks,

Bart.