[PATCH v2] nvme: implement the DEAC bit for the Write Zeroes command
Martin K. Petersen
martin.petersen at oracle.com
Mon Nov 7 09:10:35 PST 2022
Christoph,
> 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
supported
> of deallocation.
Looks good.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list