diff options
author | Bart Van Assche <[email protected]> | 2016-08-16 16:48:36 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-08-16 19:36:14 -0600 |
commit | 1b856086813be9371929b6cc62045f9fd470f5a0 (patch) | |
tree | 2ed054abb499ec7f19b63f9f5b24acff932d079f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 7afafc8a44bf0ab841b17d450b02aedb3a138985 (diff) |
block: Fix race triggered by blk_set_queue_dying()
blk_set_queue_dying() can be called while another thread is
submitting I/O or changing queue flags, e.g. through dm_stop_queue().
Hence protect the QUEUE_FLAG_DYING flag change with locking.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions