diff options
| author | Jens Axboe <[email protected]> | 2018-10-30 10:36:06 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-11-07 13:44:59 -0700 |
| commit | b3c661b15d5ab11d982e58bee23e05c1780528a1 (patch) | |
| tree | d9976237d4749482b7948282a1cc08e2e27767d3 /tools/perf/scripts/python/netdev-times.py | |
| parent | a783b81820fe3532809c98371ec904dfdb0ea9e5 (diff) | |
blk-mq: support multiple hctx maps
Add support for the tag set carrying multiple queue maps, and
for the driver to inform blk-mq how many it wishes to support
through setting set->nr_maps.
This adds an mq_ops helper for drivers that support more than 1
map, mq_ops->rq_flags_to_type(). The function takes request/bio
flags and CPU, and returns a queue map index for that. We then
use the type information in blk_mq_map_queue() to index the map
set.
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions