aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2017-05-30 14:39:11 -0400
committerJens Axboe <[email protected]>2017-05-30 12:32:37 -0600
commite4dc2b32df5573b077f6723e01cf761d236d5113 (patch)
tree33a61d78cffb1db47474a60157d550c55e0ce6a8 /tools/perf/scripts/python/export-to-postgresql.py
parentfa9765323a93473d3853d04c9903958453c92ad4 (diff)
blk-mq: Take tagset lock when updating hw queues
The tagset lock needs to be held when iterating the tag_list, so a lockdep assert was added when updating number of hardware queues. The drivers calling this API, however, were unaware of the new requirement, so are failing the assertion. This patch takes the lock within the blk-mq function so the drivers do not have to be modified in order to be safe. Fixes: 705cda97e ("blk-mq: Make it safe to use RCU to iterate over blk_mq_tag_set.tag_list") Reported-by: Gabriel Krisman Bertazi <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions