BLKZEROOUT ioctl and WriteZero opcode

Eyal BenDavid bdeyal at gmail.com
Mon May 7 09:14:49 PDT 2018


Thanks!


On Mon, May 7, 2018 at 6:14 PM, Keith Busch <keith.busch at linux.intel.com> wrote:
> 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