Jens Axboe
7f5562d5ec
blk-mq-tag: check for NULL rq when iterating tags
...
Since we introduced blk-mq-sched, the tags->rqs[] array has been
dynamically assigned. So we need to check for NULL when iterating,
since there's a window of time where the bit is set, but we haven't
dynamically assigned the tags->rqs[] array position yet.
This is perfectly safe, since the memory backing of the request is
never going away while the device is alive.
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com >
Reviewed-by: Omar Sandoval <osandov@fb.com >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2017-08-09 13:09:08 -06:00
..
2017-06-05 16:59:14 +02:00
2017-06-21 11:46:07 -06:00
2017-06-08 09:51:10 -06:00
2017-07-12 08:32:04 -06:00
2017-07-29 09:00:03 -06:00
2017-07-12 08:32:02 -06:00
2017-08-09 10:00:29 -06:00
2017-08-02 08:25:04 -06:00
2017-06-01 13:07:55 -06:00
2017-07-24 08:46:40 -06:00
2017-06-09 09:27:32 -06:00
2017-06-20 19:27:14 -06:00
2017-06-09 09:27:32 -06:00
2017-03-03 10:53:35 -08:00
2017-07-06 09:43:20 -06:00
2017-06-27 12:13:21 -06:00
2017-06-27 12:05:27 -06:00
2017-07-24 10:01:31 -06:00
2017-06-27 12:05:31 -06:00
2017-05-04 08:25:17 -06:00
2017-03-29 11:09:51 -06:00
2017-07-03 16:54:09 -06:00
2017-06-22 21:55:24 -06:00
2017-05-04 08:24:13 -06:00
2017-08-09 13:09:08 -06:00
2017-03-02 08:56:04 -07:00
2017-02-27 20:54:05 +02:00
2017-08-01 09:28:24 -06:00
2017-07-03 16:50:31 -07:00
2017-06-27 12:13:45 -06:00
2017-03-02 08:42:26 +01:00
2017-05-10 07:40:18 -06:00
2017-04-21 07:56:23 -06:00
2017-06-14 13:27:50 -06:00
2017-06-20 19:27:14 -06:00
2017-07-29 09:00:03 -06:00
2017-06-20 19:27:14 -06:00
2017-06-20 12:19:14 +02:00
2017-04-19 08:49:03 -06:00
2017-01-12 07:58:32 -07:00
2017-07-03 17:00:59 -06:00
2017-06-27 12:13:45 -06:00
2017-06-09 09:27:32 -06:00
2017-06-20 19:27:14 -06:00
2017-07-29 09:00:03 -06:00
2014-01-21 20:18:26 -08:00
2017-06-29 18:17:52 -04:00
2017-02-08 13:43:06 -07:00
2017-06-21 11:46:07 -06:00
2017-06-20 19:27:14 -06:00
2017-04-08 11:25:38 -06:00
2017-06-21 11:46:07 -06:00
2017-05-12 15:43:10 -07:00
2017-04-19 08:30:26 -06:00
2017-07-03 13:08:04 -07:00
2017-04-19 08:48:24 -06:00
2017-05-04 08:25:17 -06:00
2017-01-17 10:03:33 -07:00
2017-02-17 12:41:47 -07:00
2017-05-23 08:41:59 -06:00
2017-06-20 19:27:14 -06:00
2017-04-07 14:24:16 -06:00
2017-07-03 16:56:25 -06:00