[PATCH v5 4/5] sd: limit to use write life hints
Christoph Hellwig
hch at lst.de
Tue Sep 24 02:28:32 PDT 2024
On Tue, Sep 24, 2024 at 02:54:51PM +0530, Kanchan Joshi wrote:
> FS managed/created hints is a different topic altogether,
> and honestly
> that is not the scope of this series. That needs to be thought at per-FS
> level due to different data/meta layouts.
No, it is not. If you design an API where hints bypass the file
system you fundamentally do the wrong thing when there is a file
system. No one is asking to actually implement file system
support in this series, but we need to consider the fundamental
problem in the API design.
And yes, the actual implementation will be highly dependent on the
file system.
> This scope of this series is to enable application-managed hints passing
> through the file system. FS only needs to pass what it receives.
Which fundamentally can't work for even a semi-intelligent file system.
More information about the Linux-nvme
mailing list