Files
kernel/include/linux
Jens Axboe cd4a4ae468 block: don't use blocking queue entered for recursive bio submits
If we end up splitting a bio and the queue goes away between
the initial submission and the later split submission, then we
can block forever in blk_queue_enter() waiting for the reference
to drop to zero. This will never happen, since we already hold
a reference.

Mark a split bio as already having entered the queue, so we can
just use the live non-blocking queue enter variant.

Thanks to Tetsuo Handa for the analysis.

Reported-by: syzbot+c4f9cebf9d651f6e54de@syzkaller.appspotmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-02 20:35:00 -06:00
..
2018-04-20 17:18:35 -07:00
2018-04-11 10:28:37 -07:00
2018-05-30 15:33:32 -06:00
2018-06-01 07:38:16 -06:00
2018-04-26 09:02:01 -06:00
2018-04-11 10:28:35 -07:00
2018-04-11 10:28:38 -07:00
2018-05-29 08:47:40 -06:00
2018-04-12 09:41:19 -07:00
2018-04-11 10:28:32 -07:00
2018-04-11 10:28:39 -07:00
2018-06-01 14:37:35 +02:00
2018-04-11 10:28:39 -07:00
2018-04-05 21:36:24 -07:00
2018-04-05 21:36:27 -07:00