diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-10-30 19:24:04 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 21:45:00 +0100 |
commit | 3110fc79606fb6003949246c6fb325dd43445273 (patch) | |
tree | 7b583e5d4e3f0487a4804900ecfc510addfb0ee9 /block/blk-mq-cpumap.c | |
parent | blk-mq: cleanup and improve list insertion (diff) | |
download | linux-3110fc79606fb6003949246c6fb325dd43445273.tar.xz linux-3110fc79606fb6003949246c6fb325dd43445273.zip |
blk-mq: improve plug list sorting
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.
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions