NeilBrown
f5fe1b5190
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>
2017-03-11 15:31:37 -07:00
..
2017-03-09 17:01:10 -08:00
2017-03-02 08:42:40 +01:00
2016-12-08 22:01:47 -08:00
2016-05-04 12:39:35 -07:00
2015-07-29 08:55:15 -06:00
2015-05-29 14:19:06 -04:00
2013-11-23 22:33:55 -08:00
2017-03-02 08:42:33 +01:00
2014-01-14 23:23:03 -05:00
2016-06-10 15:15:44 -04:00
2016-12-16 00:13:41 +02:00
2017-02-16 13:12:51 -05:00
2017-02-16 13:12:47 -05:00
2016-09-22 11:15:02 -04:00
2016-09-22 11:15:02 -04:00
2016-12-08 19:42:37 -05:00
2014-01-16 13:44:11 -05:00
2016-09-22 11:15:02 -04:00
2017-02-21 12:11:41 -08:00
2017-01-27 15:08:35 -07:00
2017-03-02 10:09:00 +11:00
2016-02-22 22:34:37 -05:00
2017-02-02 08:20:48 -07:00
2015-11-04 21:19:53 -08:00
2016-01-08 20:03:05 -05:00
2016-12-13 15:01:31 -05:00
2016-11-21 09:51:57 -05:00
2017-03-02 08:42:33 +01:00
2016-06-10 15:15:44 -04:00
2016-07-28 17:38:16 -07:00
2015-10-31 19:06:00 -04:00
2015-04-15 12:10:20 -04:00
2009-09-04 20:40:34 +01:00
2016-10-07 14:42:05 -07:00
2016-11-01 09:43:26 -06:00
2017-02-17 14:08:19 -07:00
2008-10-10 13:36:58 +01:00
2011-10-31 19:31:18 -04:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:42 -05:00
2016-12-13 10:19:16 -08:00
2017-02-28 16:47:52 -05:00
2016-08-07 14:41:02 -06:00
2017-02-17 00:54:09 -05:00
2017-02-24 13:19:32 -07:00
2017-01-27 15:08:35 -07:00
2016-02-22 22:34:42 -05:00
2016-11-01 09:43:26 -06:00
2016-01-08 20:03:05 -05:00
2016-08-07 14:41:02 -06:00
2017-02-16 14:17:07 -05:00
2015-06-17 12:40:40 -04:00
2016-08-07 14:41:02 -06:00
2015-10-31 19:06:06 -04:00
2016-06-10 15:15:44 -04:00
2017-02-02 08:20:48 -07:00
2017-01-27 15:08:35 -07:00
2016-07-20 12:43:35 -04:00
2016-07-20 12:43:35 -04:00
2017-02-02 08:20:48 -07:00
2011-10-31 19:31:19 -04:00
2007-10-20 02:01:26 +01:00
2016-07-01 23:29:08 -04:00
2015-12-10 10:39:03 -05:00
2016-11-21 09:52:01 -05:00
2015-12-10 10:39:03 -05:00
2016-08-07 14:41:02 -06:00
2017-03-11 15:31:37 -07:00
2017-01-27 15:08:35 -07:00
2017-02-15 11:24:54 -08:00
2016-11-14 15:17:47 -05:00
2017-02-24 14:42:19 -08:00
2017-02-13 09:17:50 -08:00
2016-06-10 15:15:44 -04:00
2016-09-21 09:09:44 -07:00
2016-05-09 09:24:03 -07:00
2017-03-02 08:42:29 +01:00
2017-02-15 11:24:54 -08:00
2017-02-24 14:42:19 -08:00
2011-10-11 16:48:57 +11:00
2017-02-24 14:42:19 -08:00
2015-08-13 12:31:57 -06:00
2017-03-02 08:42:29 +01:00
2017-02-19 22:04:25 -08:00
2017-02-13 09:20:05 -08:00
2017-03-02 08:42:29 +01:00
2017-02-13 09:20:05 -08:00
2017-03-11 15:31:37 -07:00
2016-11-22 09:14:28 -08:00