Re: [PATCH v7 0/3] FDP and per-io hints

Christoph Hellwig
2024-10-08T12:25:41Z

On Mon, Oct 07, 2024 at 12:10:11PM +0200, Javier González wrote:
> In summary, what we are asking for is to take the patches that cover the
> current use-case, and work together on what might be needed for better
> FS support.

And I really do not think it is a good idea. For one it actually
works against the stated intent of the FDP spec. Second extending
the hints to per per-I/O in the io_uring patch is actively breaking
the nice per-file I/O hint abstraction we have right now, and is
really unsuitable when actually used on a file and not just a block
device. And if you are only on a block device I think passthrough
of some form is still the far better option, despite the problems
with it mentioned by Keith.