Re: [PATCH v2 3/4] block: rename blk_mq_freeze_queue_start()

2017-03-24 Thread Ming Lei
On Sat, Mar 25, 2017 at 1:29 AM, Bart Van Assche wrote: > On Fri, 2017-03-24 at 20:36 +0800, Ming Lei wrote: >> 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

Re: [PATCH v2 3/4] block: rename blk_mq_freeze_queue_start()

2017-03-24 Thread Hannes Reinecke
On 03/24/2017 01:36 PM, Ming Lei wrote: > 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. > > Signed-off-by: Ming Lei > ---

[PATCH v2 3/4] block: rename blk_mq_freeze_queue_start()

2017-03-24 Thread Ming Lei
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. Signed-off-by: Ming Lei --- block/blk-core.c | 2 +-