block: add async variant of blkdev_issue_zeroout
authorChaitanya Kulkarni <chaitanya.kulkarni@hgst.com>
Wed, 30 Nov 2016 20:28:58 +0000 (12:28 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 1 Dec 2016 14:58:40 +0000 (07:58 -0700)
commite73c23ff736e1ea371dfa419d7bf8e77ee53044a
tree0c31b23f95f72106ed12776a5343b17986d3c7bc
parentb02d8aaea12463f573c5ef485c638ab12628dc5e
block: add async variant of blkdev_issue_zeroout

Similar to __blkdev_issue_discard this variant allows submitting
the final bio asynchronously and chaining multiple ranges
into a single completion.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-lib.c
include/linux/blkdev.h