Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* BLKZEROOUT ioctl and WriteZero opcode
@ 2018-05-03 15:15 אייל בן דוד
  2018-05-04 20:05 ` Keith Busch
  0 siblings, 1 reply; 5+ messages in thread
From: אייל בן דוד @ 2018-05-03 15:15 UTC (permalink / raw)


Hi all,

There is an ioctl command BLKZEROOUT that accepts range (lba + number
of block to zero)

Suppose:
Block device is an nvme device (e.g. /dev/nvme0nX)
Device does support the WriteZeroes opcode.

If so, does the kernel make use of the WriteZeroes opcode in the
implementation of BLKZEROOUT ?
Same question for BLKDISCARD.

Thanks
Eyal.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-07 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-03 15:15 BLKZEROOUT ioctl and WriteZero opcode אייל בן דוד
2018-05-04 20:05 ` Keith Busch
2018-05-07 12:17   ` Eyal BenDavid
2018-05-07 15:14     ` Keith Busch
2018-05-07 16:14       ` Eyal BenDavid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox