On 1/23/19 5:16 PM, Liu Bo wrote: > 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. This is much better. You'll want to reorder 1 and 2 though, it's a known issue that we can hit the underflow condition before you fix the issue. -- Jens Axboe