On Sat, Mar 25, 2017 at 1:29 AM, Bart Van Assche
[off-list ref] wrote:
On Fri, 2017-03-24 at 20:36 +0800, Ming Lei wrote:
quoted
As the .q_usage_counter is used by both legacy and
mq path, we need to block new I/O if queue becomes
dead in blk_queue_enter().
So rename it and we can use this function in both
pathes.
Should "pathes" be changed into "paths" in the commit message? Additionally,
this patch breaks the symmetry the comment in blk_mq_freeze_queue() refers
to. Anyway:
Really? Is there one function named as blk_mq_freeze_queue_end()?
The comment means blk_mq_freeze_queue() vs. blk_mq_unfreeze_queue(), which can't
be affected by this patch.
Thanks,
Ming Lei