[PATCH] nvme: implement the DEAC bit for the Write Zeroes command

Niklas Cassel Niklas.Cassel at wdc.com
Wed Nov 2 03:46:24 PDT 2022


On Sun, Oct 30, 2022 at 05:29:06PM +0100, Christoph Hellwig wrote:
> While the specification allows devices to either deallocate data
> or to actually write zeroes on any Write Zeroes command, many SSDs
> only do the sensible thing and deallocate data when the DEAC bit
> is specific.  Set it when it is suppored and the caller doesn't

Nit: supported

> explicitly opt out of deallocation.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Reviewed-by: Niklas Cassel <niklas.cassel at wdc.com>


More information about the Linux-nvme mailing list