From mboxrd@z Thu Jan 1 00:00:00 1970 From: keith.busch@linux.intel.com (Keith Busch) Date: Mon, 7 May 2018 09:14:42 -0600 Subject: BLKZEROOUT ioctl and WriteZero opcode In-Reply-To: References: <20180504200556.GA20686@localhost.localdomain> Message-ID: <20180507151442.GC20686@localhost.localdomain> On Mon, May 07, 2018@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.