Skip to contentSkip to conversation

blk-mq: put driver tag if dispatch budget can't be got

PATCH Jens Axboe 1 participant 1 message Nov 7, 2017 1 message not in the archive Block layer

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jens Axboe

author maintainer
#1 lore raw
Quoted 3 lines · Ming Lei

We have to put the driver tag if dispatch budget can't be got, otherwise it might cause IO deadlock, especially in case that size of tags is very small.

Fix looks correct to me, but it's missing a Fixes: line. I tried to go back a little bit, but it looks like this failure case was introduced just recently:

commit 88022d7201e96b43f1754b0358fc6bcd8dbdcde1

Author: Ming Lei <[email protected]>
Date:   Sun Nov 5 02:21:12 2017 +0800

blk-mq: don't handle failure in .get_budget

Signature · 1 line
Jens Axboe