diff options
author | 2016-02-20 00:38:47 -0500 | |
---|---|---|
committer | 2016-02-22 22:33:09 -0500 | |
commit | 818c5f3bef750eb5998b468f84391e4d656b97ed (patch) | |
tree | 870376e3cae6542564325980b7c0d11b1f2b0345 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dm: allocate blk_mq_tag_set rather than embed in mapped_device (diff) | |
download | linux-dev-818c5f3bef750eb5998b468f84391e4d656b97ed.tar.xz linux-dev-818c5f3bef750eb5998b468f84391e4d656b97ed.zip |
dm: fix a couple locking issues with use of block interfaces
old_stop_queue() was checking blk_queue_stopped() without holding the
q->queue_lock.
dm_requeue_original_request() needed to check blk_queue_stopped(), with
q->queue_lock held, before calling blk_mq_kick_requeue_list(). And a
side-effect of that change is start_queue() must also call
blk_mq_kick_requeue_list().
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions