]> git.baikalelectronics.ru Git - kernel.git/commit
block: add __blkdev_issue_discard
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Apr 2016 18:55:28 +0000 (14:55 -0400)
committerJens Axboe <axboe@fb.com>
Mon, 2 May 2016 15:19:46 +0000 (09:19 -0600)
commit5e0161ad7ad992fa2b375ca29026af164e1968f0
treeddd79bcd6c509dc804374d250a38a0ebd5c3b7c1
parent716d419e9015d1be1a01a59d5107736013e38143
block: add __blkdev_issue_discard

This is a version of blkdev_issue_discard which doesn't wait for
the I/O to complete, but instead allows the caller to submit
the final bio and/or chain it to others.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Sagi Grimberg <sagig@grimberg.me>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-lib.c
include/linux/blkdev.h