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

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Nov 7 19:54:52 PST 2022


On 11/7/22 08:21, 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
> explicitly opt out of deallocation.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> 

with Martin's suggested commit log fix ...

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck



More information about the Linux-nvme mailing list