[PATCH 0/2] nvmet: consider req->sg_cnt for inline bio
Christoph Hellwig
hch at lst.de
Tue May 4 09:56:13 BST 2021
On Thu, Apr 29, 2021 at 11:43:55AM -0700, Chaitanya Kulkarni wrote:
> Hi,
>
> While testing I came across the scenario where checking for the
> transfer size is not enough for inline bios, this issue is not easily
> reproducible with the test tools that I have.
>
> This small patch-series adds an additional check so that we make sure
> transfer size and the req->sg_cnt both fit in the inline bio for
> bdev and passthru backend.
How do you get the fragmented scatterlist? Oh I guess this is due to
nvme-loop not using our page allocator but pages that come the
block layer?
More information about the Linux-nvme
mailing list