Re: [f2fs-dev] [PATCH] fs: report direct io constraints through file_getattr
Eric Biggers via Linux-f2fs-devel <[email protected]> Fri, 10 Jul 2026 17:25:27 -0400
| Newsgroups | net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-xfs |
|---|---|
| Message-ID | <20260710212527.GB1911@quark> |
On Tue, Jul 07, 2026 at 06:18:43PM -0700, Keith Busch via Linux-f2fs-devel wrote: > From: Keith Busch <[email protected]> > > Memory alignment constraints for direct io can vary depending on the > backing storage hardware. Provide support through file_getattr to report > the attributes necessary for applications to know how to construct valid > read and write requests. > > Suggested-by: Christoph Hellwig <[email protected]> > Signed-off-by: Keith Busch <[email protected]> This seems to be reinventing STATX_DIOALIGN and STATX_DIO_READ_ALIGN. Any reason for this? - Eric _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel