[PATCH 3/3] nvmet-loop: use blk_rq_payload_bytes for sgl selection

Keith Busch keith.busch at intel.com
Thu Feb 22 07:32:10 PST 2018


On Thu, Feb 22, 2018 at 07:24:10AM -0800, Christoph Hellwig wrote:
> blk_rq_bytes does the wrong thing for special payloads like discards and
> might cause the driver to not set up a SGL.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Keith Busch <keith.busch at intel.com>



More information about the Linux-nvme mailing list