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

Niklas Cassel
2022-11-02T10:46:41Z

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@lst.de>
> ---

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