* Re: [f2fs-dev] [PATCH] fs: report direct io constraints through file_getattr
From: Eric Biggers @ 2026-07-10 21:28 UTC (permalink / raw)
To: Andrey Albershteyn
Cc: Christoph Hellwig, axboe, linux-xfs, brauner, jack, Keith Busch,
cem, aalbersh, linux-f2fs-devel, linux-block, Keith Busch, tytso,
linux-fsdevel, jaegeuk, linux-ext4
In-Reply-To: <ak9f0CXSegLq8l5w@aalbersh-thinkpadx1carbongen13.rmtcz.csb>
On Thu, Jul 09, 2026 at 10:51:39AM +0200, Andrey Albershteyn via Linux-f2fs-devel wrote:
> > Andrey, is there a man page or other official documentation for
> > file_setattr/file_getattr?
>
> No, I had a draft in cover letter but haven't got to sending it to
> man-pages. I will prepare a man page.
Or just abandon this series, and read the statx(2) man page which
documents the already-existing UAPI for getting the DIO alignments?
- Eric
^ permalink raw reply
* Re: [f2fs-dev] [PATCHv2 0/5] direct-io file extended attributes
From: Eric Biggers @ 2026-07-10 21:53 UTC (permalink / raw)
To: Keith Busch
Cc: linux-block, linux-ext4, linux-f2fs-devel, linux-fsdevel,
linux-xfs, axboe, brauner, aalbersh, jack, tytso, Keith Busch,
jaegeuk, cem
In-Reply-To: <20260710210646.3576365-1-kbusch@meta.com>
On Fri, Jul 10, 2026 at 02:06:41PM -0700, Keith Busch via Linux-f2fs-devel wrote:
> From: Keith Busch <kbusch@kernel.org>
>
> The attributes reported through statx are incomplete for applications to
> fully know exactly how IO construction is valid or not. The statx call
> can report minimum memory alignment and total granularity, but it
> doesn't show the underlying gap boundary requirements or max segments
> per granule.
>
> This series adds the minimum to the extended file attributes through
> file_getattr. I hear this is the preferred interface for reporting such
> things over adding more fields to statx. In order to get everything
> under a single syscall, some of the attributes are duplicated from
> statx.
Okay, in v2 we at least now know that the existing statx UAPI was
considered. Could you give a specific real-world example (with the
actual values of each parameter) where it's not sufficient? Without
that there isn't really any way to evaluate this proposal.
- Eric
^ permalink raw reply
page: | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox