[PATCH] nvme: fix Write Zeroes limitations

Keith Busch kbusch at kernel.org
Mon Mar 15 15:34:36 GMT 2021


On Mon, Mar 15, 2021 at 10:34:38AM +0100, Christoph Hellwig wrote:
> We voluntarily limit the Write Zeroes sizes to the MDTS value provided by
> the hardware, but currently get the units wrong, so fix that.
> 
> Fixes: 6e02318eaea5 ("nvme: add support for the Write Zeroes command")
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list