linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET] Add support for write zeroes operation in Block layer and NVMe Driver.
@ 2016-11-16  6:50 Chaitanya Kulkarni
  2016-11-16  6:50 ` [PATCH 1/5] block: add async variant of blkdev_issue_zeroout Chaitanya Kulkarni
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Chaitanya Kulkarni @ 2016-11-16  6:50 UTC (permalink / raw)


1. Block layer implementation details :-
    a. Introducing __blkdev_issue_zeroout variant of exiting code.
    b. Introducing new request operation flag REQ_OP_WRITE_ZEROES to represent
       write zeroes operation.
    c. Mechanism to issue bios without payload with the help of
       __blkdev_issue_write_zeroes block library function. In block layer 
       blkdev_issue_zeroout/__blkdev_issue_zeroout APIs are exported to execute 
       write zeroes operation. Based on the device support these 
       functions will :-
       1. Try to execute optimized Write Zeroes (REQ_OP_WRITE_ZEROES).
       2. If REQ_OP_WRITE_ZEROES is not supported, it will try to write zeroes
          using write same (REQ_OP_WRITE_SAME) operation.
       3. In case write zeroes and write same are not supported zeroes are
          written using regular write (REQ_OP_WRITE) operation.

2. NVMe over Fabric Driver implementation details :-
       1. NVMe write zeroes command definitions for host and target.
       2. NVMe write zeroes command implementation for host and target.

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

end of thread, other threads:[~2016-11-17 22:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16  6:50 [PATCHSET] Add support for write zeroes operation in Block layer and NVMe Driver Chaitanya Kulkarni
2016-11-16  6:50 ` [PATCH 1/5] block: add async variant of blkdev_issue_zeroout Chaitanya Kulkarni
2016-11-17 10:29   ` Christoph Hellwig
2016-11-16  6:50 ` [PATCH 2/5] block: add support for REQ_OP_WRITE_ZEROES Chaitanya Kulkarni
2016-11-16 17:59   ` Keith Busch
2016-11-17  2:48     ` Martin K. Petersen
2016-11-17 22:28       ` chaitany kulkarni
2016-11-16  6:50 ` [PATCH 4/5] nvme: add support for the Write Zeroes command Chaitanya Kulkarni
2016-11-16 16:48   ` Sagi Grimberg
2016-11-16  6:50 ` [PATCH 5/5] nvmet: " Chaitanya Kulkarni
2016-11-16 16:47   ` Sagi Grimberg
2016-11-17 10:28     ` Christoph Hellwig
2016-11-17 10:28   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).