commit | d262920998c891dfd87cf73f823f0ff60e20cdad | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com> | Wed Nov 30 12:29:02 2016 -0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Dec 01 07:58:40 2016 -0700 |
tree | 3d612a7f233c8d714d5a23546e767211093fcf7c | |
parent | 6d31e3ba232ea22458b2f36b6d3f2f9f11bf3fa4 [diff] |
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>