[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZlC57Zvr1qmtEyEY@kbusch-mbp.dhcp.thefacebook.com>
Date: Fri, 24 May 2024 10:01:49 -0600
From: Keith Busch <kbusch@...nel.org>
To: Kundan Kumar <kundan.kumar@...sung.com>
Cc: axboe@...nel.dk, hch@....de, sagi@...mberg.me,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
joshi.k@...sung.com, anuj20.g@...sung.com, nj.shetty@...sung.com,
c.gameti@...sung.com, gost.dev@...sung.com
Subject: Re: [PATCH] nvme: adjust multiples of NVME_CTRL_PAGE_SIZE in offset
On Thu, May 23, 2024 at 05:01:49PM +0530, Kundan Kumar wrote:
> bio_vec start offset may be relatively large particularly when large
> folio gets added to the bio. A bigger offset will result in avoiding the
> single-segment mapping optimization and end up using expensive
> mempool_alloc further.
>
> Rather than using absolute value, adjust bv_offset by
> NVME_CTRL_PAGE_SIZE while checking if segment can be fitted into one/two
> PRP entries.
Thanks, applied to nvme-6.10.
Powered by blists - more mailing lists