summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-tag.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-03-10 17:00:47 +1100
committerJens Axboe <axboe@fb.com>2017-03-11 15:31:37 -0700
commitf5fe1b51905df7cfe4fdfd85c5fb7bc5b71a094f (patch)
treefbc336ee9d7ca18f8bfd81a8b54e99efd0555241 /block/blk-mq-tag.c
parent84c37c168c0e49a412d7021cda3183a72adac0d0 (diff)
downloadblackbird-obmc-linux-f5fe1b51905df7cfe4fdfd85c5fb7bc5b71a094f.tar.gz
blackbird-obmc-linux-f5fe1b51905df7cfe4fdfd85c5fb7bc5b71a094f.zip
blk: Ensure users for current->bio_list can see the full list.
Commit 79bd99596b73 ("blk: improve order of bio handling in generic_make_request()") changed current->bio_list so that it did not contain *all* of the queued bios, but only those submitted by the currently running make_request_fn. There are two places which walk the list and requeue selected bios, and others that check if the list is empty. These are no longer correct. So redefine current->bio_list to point to an array of two lists, which contain all queued bios, and adjust various code to test or walk both lists. Signed-off-by: NeilBrown <neilb@suse.com> Fixes: 79bd99596b73 ("blk: improve order of bio handling in generic_make_request()") Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud