diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-10-30 12:24:04 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 13:45:00 -0700 |
commit | 3110fc79606fb6003949246c6fb325dd43445273 (patch) | |
tree | 7b583e5d4e3f0487a4804900ecfc510addfb0ee9 /block/blk-mq-pci.c | |
parent | 67cae4c948a5311121905a2a8740c50daf7f6478 (diff) | |
download | linux-3110fc79606fb6003949246c6fb325dd43445273.tar.bz2 |
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-pci.c')
0 files changed, 0 insertions, 0 deletions