diff options
author | Bart Van Assche <[email protected]> | 2017-06-20 11:15:49 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-20 19:27:14 -0600 |
commit | 5435c023b92ee1cfb896d924d28c6d31d8386aa0 (patch) | |
tree | a88194a4ecc892f05f9b4b9f3a31877f7b0b805a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | edf8ff558887364714e115d396b2d06949cf1e07 (diff) |
blk-mq: Warn when attempting to run a hardware queue that is not mapped
A queue must be frozen while the mapped state of a hardware queue
is changed. Additionally, any change of the mapped state is
followed by a call to blk_mq_map_swqueue() (see also
blk_mq_init_allocated_queue() and blk_mq_update_nr_hw_queues()).
Since blk_mq_map_swqueue() does not map any unmapped hardware
queue onto any software queue, no attempt will be made to run
an unmapped hardware queue. Hence issue a warning upon attempts
to run an unmapped hardware queue.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Omar Sandoval <[email protected]>
Cc: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions