On Tue, Jul 08, 2025 at 12:06:14PM -0400, Mike Snitzer wrote: > Use STATX_DIOALIGN and STATX_DIO_READ_ALIGN to get and store DIO > alignment attributes from underlying filesystem in associated > nfsd_file. This is done when the nfsd_file is first opened for > a regular file. Just as a little warning: these are unfortunately only supported by very few file systems right now. For someone with a little bit of time on their hand it would be nice to do a pass to set them for all remaining direct I/O supporting file systems, which is only about a dozen anyway.