BLKZEROOUT ioctl and WriteZero opcode

Keith Busch keith.busch at linux.intel.com
Mon May 7 08:14:42 PDT 2018


On Mon, May 07, 2018 at 03:17:56PM +0300, Eyal BenDavid wrote:
> Thanks Keith,
> 
> So:
> BLKZEROOUT is not implemented by NVME passthru + Write Zeroes (for now).
> BLKZEROOUT Is implemented by DSM provided the device guarantees 0's
> are returned after "Unmap"
> In order to to zero out a range, NVMe passthru with Write Zeroes
> opcode must be used.
> 
> Is it correct?

Yes, that is correct.



More information about the Linux-nvme mailing list