Jens Axboe 5feeacdd4a blk-mq: add might_sleep check to blk_mq_get_driver_tag()
If the caller passes in wait=true, it has to be able to block
for a driver tag. We just had a bug where flush insertion
would block on tag allocation, while we had preempt disabled.
Ensure that we catch cases like that earlier next time.

Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-20 17:23:13 -06:00
..
2016-10-28 08:45:17 -06:00
2017-04-07 09:40:52 -06:00
2017-03-22 20:11:37 -06:00
2017-04-19 17:38:36 -06:00
2017-02-08 13:43:06 -07:00