This set is to fix a hang case if blk-iolatency is in use. The 1st patch adds a warning for unexpected inflight counter. The 2nd patch explains the hang problem with more details. The 3nd patch is a cleanup of blk_mq_freeze_queue. Liu Bo (3): Blk-iolatency: warn on negative inflight IO counter blk-iolatency: fix IO hang due to negative inflight counter blk-mq: remove duplicated definition of blk_mq_freeze_queue block/blk-iolatency.c | 56 ++++++++++++++++++++++++++++++++++++------- block/blk-mq.h | 1 - 2 files changed, 48 insertions(+), 9 deletions(-) -- 2.20.1.2.gb21ebb6