diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com> | 2016-11-30 23:29:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-12-01 17:58:40 +0300 |
commit | 6d31e3ba232ea22458b2f36b6d3f2f9f11bf3fa4 (patch) | |
tree | 21b8454092fd386cfcf4a64e3af33895989d0a8d /drivers/nvme/target/admin-cmd.c | |
parent | 3b7c33b28a44d4621e365e090bf8bd332ab232a1 (diff) | |
download | linux-6d31e3ba232ea22458b2f36b6d3f2f9f11bf3fa4.tar.xz |
nvme: add support for the Write Zeroes command
Allow write zeroes operations (REQ_OP_WRITE_ZEROES) on the block
device, if the device supports optional command bit set for write
zeroes. Add support to setup write zeroes command. Set maximum possible
write zeroes sectors in one write zeroes command according to
nvme write zeroes command definition.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/target/admin-cmd.c')
0 files changed, 0 insertions, 0 deletions