Re: [PATCH 1/9] blk-mq: Introduce blk_mq_queue_stopped()

2016-09-27 Thread Johannes Thumshirn
On Mon, Sep 26, 2016 at 11:26:26AM -0700, Bart Van Assche wrote: > The function blk_queue_stopped() allows to test whether or not a > traditional request queue has been stopped. Introduce a helper > function that allows block drivers to query easily whether or not > one or more hardware contexts of

Re: [PATCH 1/9] blk-mq: Introduce blk_mq_queue_stopped()

2016-09-26 Thread Hannes Reinecke
On 09/26/2016 08:26 PM, Bart Van Assche wrote: > The function blk_queue_stopped() allows to test whether or not a > traditional request queue has been stopped. Introduce a helper > function that allows block drivers to query easily whether or not > one or more hardware contexts of a blk-mq queue ha

[PATCH 1/9] blk-mq: Introduce blk_mq_queue_stopped()

2016-09-26 Thread Bart Van Assche
The function blk_queue_stopped() allows to test whether or not a traditional request queue has been stopped. Introduce a helper function that allows block drivers to query easily whether or not one or more hardware contexts of a blk-mq queue have been stopped. Signed-off-by: Bart Van Assche Cc: J