Re: [RFC PATCH v2 1/7] statx: add I/O alignment information

From: Eric Biggers
Date: Fri May 20 2022 - 02:30:12 EST


On Thu, May 19, 2022 at 04:06:05PM -0700, Darrick J. Wong wrote:
> I guess that means for XFS it's effectively max(pagesize, i_blocksize,
> bdev io_opt, sb_width, and (pretend XFS can reflink the realtime volume)
> the rt extent size)? I didn't see a manpage update for statx(2) but
> that's mostly what I'm interested in. :)

I'll send out a man page update with the next version. I don't think there will
be much new information that isn't already included in this patchset, though.

> Looking ahead, it looks like the ext4/f2fs implementations only seem to
> be returning max(i_blocksize, bdev io_opt)? But not the pagesize?

I think that's just an oversight. ext4 and f2fs should round the value up to
PAGE_SIZE.

- Eric