[PATCH] nvme: fix Write Zeroes limitations

Max Gurtovoy mgurtovoy at nvidia.com
Tue Mar 16 14:29:32 GMT 2021


On 3/15/2021 11:34 AM, 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: Max Gurtovoy <mgurtovoy at nvidia.com>




More information about the Linux-nvme mailing list