lkml.org 
[lkml]   [2018]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 11/16] blk-mq: improve plug list sorting
From
Date
On 10/30/18 7:32 PM, Jens Axboe wrote:
> Currently we only look at the software queue, but with support
> for multiple maps, we should also look at the hardware queue.
> This is important since we'll flush out the request list if
> either the software queue or hardware queue don't match.
>
> This sorts by software queue first, then hardware queue if
> that differs. Finally we sort by request location like before.
> This minimizes the flush points per plug list.
>
> Signed-off-by: Jens Axboe <axboe@kernel.dk>
> ---
> block/blk-mq.c | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes

\
 
 \ /
  Last update: 2018-11-01 10:31    [W:0.641 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site