Searched hist:cd4a4ae4683dc2e09380118e205e057896dcda2b (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | blk_types.h | diff cd4a4ae4683dc2e09380118e205e057896dcda2b Sat Jun 02 15:04:07 CDT 2018 Jens Axboe <axboe@kernel.dk> 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>
|
/openbmc/linux/block/ |
H A D | blk-merge.c | diff cd4a4ae4683dc2e09380118e205e057896dcda2b Sat Jun 02 15:04:07 CDT 2018 Jens Axboe <axboe@kernel.dk> 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>
|
H A D | blk-core.c | diff cd4a4ae4683dc2e09380118e205e057896dcda2b Sat Jun 02 15:04:07 CDT 2018 Jens Axboe <axboe@kernel.dk> 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>
|