Re: [PATCH V2 2/2] blk-mq: immediately dispatch big size request

From: Jens Axboe
Date: Fri Nov 04 2016 - 00:02:27 EST


On 11/03/2016 06:13 PM, Shaohua Li wrote:
On Thu, Nov 03, 2016 at 05:09:54PM -0700, Christoph Hellwig wrote:
On Thu, Nov 03, 2016 at 05:03:54PM -0700, Shaohua Li wrote:
This is corresponding part for blk-mq. Disk with multiple hardware
queues doesn't need this as we only hold 1 request at most.

Any reason you only do this for the SQ and not the MQ case?

Right above:
Disk with multiple hardware queues doesn't need this as we only hold 1
request at most.

I've applied 1-2 for 4.10, but we probably should look into unifying
those parts of sq and mq in general. For instance, it doesn't seem to
make a lot of sense why we'd depth limit sq and not mq.

--
Jens Axboe