Re: [PATCH] blk-mq: run hw queue asynchronously in blk_mq_start_hw_queues

2014-06-24 Thread Ming Lei
On Wed, Jun 25, 2014 at 11:00 AM, Jens Axboe wrote: > On 2014-06-24 20:42, Ming Lei wrote: >> >> On Tue, Jun 24, 2014 at 10:53 PM, Ming Lei wrote: >>> >>> From API view, it isn't good to run all hw queues synchronously >>> in one context, since it isn't correct for multi hw queue case. >>> >>> S

Re: [PATCH] blk-mq: run hw queue asynchronously in blk_mq_start_hw_queues

2014-06-24 Thread Jens Axboe
On 2014-06-24 20:42, Ming Lei wrote: On Tue, Jun 24, 2014 at 10:53 PM, Ming Lei wrote: From API view, it isn't good to run all hw queues synchronously in one context, since it isn't correct for multi hw queue case. So this patch adds 'async' parameter to blk_mq_start_hw_queue(), and make blk_

Re: [PATCH] blk-mq: run hw queue asynchronously in blk_mq_start_hw_queues

2014-06-24 Thread Ming Lei
On Tue, Jun 24, 2014 at 10:53 PM, Ming Lei wrote: > From API view, it isn't good to run all hw queues synchronously > in one context, since it isn't correct for multi hw queue case. > > So this patch adds 'async' parameter to blk_mq_start_hw_queue(), > and make blk_mq_start_hw_queues() to run hw q

[PATCH] blk-mq: run hw queue asynchronously in blk_mq_start_hw_queues

2014-06-24 Thread Ming Lei
>From API view, it isn't good to run all hw queues synchronously in one context, since it isn't correct for multi hw queue case. So this patch adds 'async' parameter to blk_mq_start_hw_queue(), and make blk_mq_start_hw_queues() to run hw queues asynchronously at default. Signed-off-by: Ming Lei