Re: [PATCH 4/5] xfs: report the correct read/write dio alignment for reflinked inodes

John Garry
2025-01-08T10:10:30Z

On 08/01/2025 08:55, Christoph Hellwig wrote:
> For I/O to reflinked blocks we always need to write an entire new
> file system block, and the code enforces the file system block alignment
> for the entire file if it has any reflinked blocks.
>
> Use the new STATX_DIO_READ_ALIGN flag to report the asymmetric read
> vs write alignments for reflinked files.
>
> Signed-off-by: Christoph Hellwig<hch@lst.de>
> Reviewed-by: "Darrick J. Wong"<djwong@kernel.org>

FWIW:
Reviewed-by: John Garry <john.g.garry@oracle.com>