diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com> | 2016-11-30 23:29:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-12-01 17:58:40 +0300 |
commit | d262920998c891dfd87cf73f823f0ff60e20cdad (patch) | |
tree | 3d612a7f233c8d714d5a23546e767211093fcf7c /drivers/block/mtip32xx | |
parent | 6d31e3ba232ea22458b2f36b6d3f2f9f11bf3fa4 (diff) | |
download | linux-d262920998c891dfd87cf73f823f0ff60e20cdad.tar.xz |
nvmet: add support for the Write Zeroes command
Add support for handling write zeroes command on target.
Call into __blkdev_issue_zeroout, which the block layer expands into the
best suitable variant of zeroing the LBAs. Allow write zeroes operation
to deallocate the LBAs when calling __blkdev_issue_zeroout.
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/block/mtip32xx')
0 files changed, 0 insertions, 0 deletions