aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2018-09-25 10:36:20 -0600
committerJens Axboe <[email protected]>2018-09-25 20:17:59 -0600
commit530ca2c9bd6949c72c9b5cfc330cb3dbccaa3f5b (patch)
treef25bd9aa92fc0042974192d81b705253ddd8c597 /tools/perf/scripts/python/export-to-postgresql.py
parentb57e99b4b8b0ebdf9707424e7ddc0c392bdc5fe6 (diff)
blk-mq: Allow blocking queue tag iter callbacks
A recent commit runs tag iterator callbacks under the rcu read lock, but existing callbacks do not satisfy the non-blocking requirement. The commit intended to prevent an iterator from accessing a queue that's being modified. This patch fixes the original issue by taking a queue reference instead of reading it, which allows callbacks to make blocking calls. Fixes: f5bbbbe4d6357 ("blk-mq: sync the update nr_hw_queues with blk_mq_queue_tag_busy_iter") Acked-by: Jianchao Wang <[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