]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a blk_steal_bios helper
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Nov 2017 18:29:51 +0000 (21:29 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Nov 2017 16:31:48 +0000 (10:31 -0600)
commite74680da3ea821623fd28a6920ecaa12a762a2ef
tree8fd5ab57df5aa233aeb784d12a6533e696d9df51
parent46010d067dd77e515105ed9ea6ec883c395f7790
block: add a blk_steal_bios helper

This helpers allows to bounce steal the uncompleted bios from a request so
that they can be reissued on another path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
include/linux/blkdev.h