mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-12 17:42:38 +00:00
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>
This commit is contained in:
parent
f421e1d9ad
commit
ef71de8b15
2 changed files with 23 additions and 0 deletions
|
@ -1094,6 +1094,8 @@ extern struct request *blk_peek_request(struct request_queue *q);
|
|||
extern void blk_start_request(struct request *rq);
|
||||
extern struct request *blk_fetch_request(struct request_queue *q);
|
||||
|
||||
void blk_steal_bios(struct bio_list *list, struct request *rq);
|
||||
|
||||
/*
|
||||
* Request completion related functions.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue