[dm-devel] [PATCH 01/27] target: remove an incorrect unmap zeroes data deduction
Martin K. Petersen
martin.petersen at oracle.com
Wed Apr 6 20:06:16 PDT 2022
Christoph,
> For block devices the target code implements UNMAP as calls to
> blkdev_issue_discard, which does not guarantee zeroing just because
> Write Zeroes is supported.
>
> Note that this does not affect the file backed path which uses
> fallocate to punch holes.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list