[EXT] Re: [PATCHv11 00/10] block write streams with nvme fdp
Pierre Labat
plabat at micron.com
Mon Dec 9 09:35:39 PST 2024
Thanks Keith for the clarification.
If I got it right, that will be decided later by the filesystem maintainers if they went to convert the write hint assigned to a file via fcntl() into a write_stream that is the one used by the block drivers (for FDP for nvme).
Regards,
Pierre
> -----Original Message-----
> From: Keith Busch <kbusch at kernel.org>
> Sent: Monday, December 9, 2024 9:25 AM
> To: Pierre Labat <plabat at micron.com>
> Cc: Christoph Hellwig <hch at lst.de>; Keith Busch <kbusch at meta.com>;
> axboe at kernel.dk; linux-block at vger.kernel.org; linux-
> nvme at lists.infradead.org; linux-fsdevel at vger.kernel.org; io-
> uring at vger.kernel.org; sagi at grimberg.me; asml.silence at gmail.com
> Subject: Re: [EXT] Re: [PATCHv11 00/10] block write streams with nvme fdp
>
> CAUTION: EXTERNAL EMAIL. Do not click links or open attachments unless you
> recognize the sender and were expecting this message.
>
>
> On Mon, Dec 09, 2024 at 05:14:16PM +0000, Pierre Labat wrote:
> > I was under the impression that passing write hints via fcntl() on any
> > legacy filesystem stays. The hint is attached to the inode, and the fs
> > simply picks it up from there when sending it down with write related
> > to that inode.
> > Aka per file write hint.
> >
> > I am right?
>
> Nothing is changing with respect to those write hints as a result of this series,
> if that's what you mean. The driver hadn't been checking the write hint before,
> and this patch set continues that pre-existing behavior. For this series, the
> driver utilizes a new field:
> "write_stream".
>
> Mapping the inode write hint to an FDP stream for other filesystems remains
> an open topic to follow on later.
More information about the Linux-nvme
mailing list