[PATCH 0/2] nvmet: consider req->sg_cnt for inline bio

Sagi Grimberg sagi at grimberg.me
Tue May 4 21:01:10 BST 2021


> 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.

Looks good, though I'd re-title the patches as bug fixes so they
will be picked to stable kernels.



More information about the Linux-nvme mailing list