Re: [PATCH 5/9] block: Extend blk_freeze_queue_start() to the non-blk-mq path

2016-09-27 Thread Bart Van Assche
On 09/27/2016 07:42 AM, Bart Van Assche wrote: Jens, regarding non-blk-mq mode and q_usage_counter: do you prefer that I rework patch 8/9 such that blk_quiesce_queue() and blk_resume_queue() are only used in blk-mq mode or are you OK with adding a blk_queue_enter() call in get_request() and a

Re: [PATCH 5/9] block: Extend blk_freeze_queue_start() to the non-blk-mq path

2016-09-27 Thread Bart Van Assche
On 09/27/16 06:22, Ming Lei wrote: On Tue, Sep 27, 2016 at 2:27 AM, Bart Van Assche wrote: Signed-off-by: Bart Van Assche --- block/blk-core.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 5/9] block: Extend blk_freeze_queue_start() to the non-blk-mq path

2016-09-27 Thread Ming Lei
On Tue, Sep 27, 2016 at 2:27 AM, Bart Van Assche wrote: > Signed-off-by: Bart Van Assche > --- > block/blk-core.c | 15 ++- > 1 file changed, 6 insertions(+), 9 deletions(-) > > diff --git a/block/blk-core.c b/block/blk-core.c

Re: [PATCH 5/9] block: Extend blk_freeze_queue_start() to the non-blk-mq path

2016-09-27 Thread Johannes Thumshirn
On Mon, Sep 26, 2016 at 11:27:49AM -0700, Bart Van Assche wrote: > Signed-off-by: Bart Van Assche > --- Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de

[PATCH 5/9] block: Extend blk_freeze_queue_start() to the non-blk-mq path

2016-09-26 Thread Bart Van Assche
Signed-off-by: Bart Van Assche --- block/blk-core.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 8cc8006..5ecc7ab 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -689,7 +689,10 @@