[PATCH v2] fs: pass the write life time hint to the mapped filesystem

Christoph Hellwig hch at lst.de
Mon Sep 18 08:49:39 PDT 2017


On Mon, Sep 18, 2017 at 09:45:57AM -0600, Michael Moy wrote:
> The write hint needs to be copied to the mapped filesystem
> so it can be passed down to the nvme device driver.
>
> v2: fix tabs in the email

If you want the write hint for buffered I/O you need to set it on the
inode using F_SET_RW_HINT.

With your patch we'd magically move the file hint to the inode hint
on each write.



More information about the Linux-nvme mailing list