aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-04-10 17:02:40 -0600
committerJens Axboe <[email protected]>2018-04-10 17:46:40 -0600
commit37f9579f4c31a6d698dbf3016d7bf132f9288d30 (patch)
tree3b3add4672c9e0391bead53a764718e92d131983 /tools/perf/scripts/python/export-to-postgresql.py
parenta93f00b3762026dd8231f473fae9346bda07db03 (diff)
blk-mq: Avoid that submitting a bio concurrently with device removal triggers a crash
Because blkcg_exit_queue() is now called from inside blk_cleanup_queue() it is no longer safe to access cgroup information during or after the blk_cleanup_queue() call. Hence protect the generic_make_request_checks() call with blk_queue_enter() / blk_queue_exit(). Reported-by: Ming Lei <[email protected]> Fixes: a063057d7c73 ("block: Fix a race between request queue removal and the block cgroup controller") Signed-off-by: Bart Van Assche <[email protected]> Cc: Ming Lei <[email protected]> Cc: Joseph Qi <[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