aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2016-10-28 17:23:40 -0700
committerJens Axboe <[email protected]>2016-11-02 12:50:19 -0600
commita6eaa8849f92a40f8894d6d0dcab2c16243aaf20 (patch)
treeeccb0e1429ddeec9bedc3c916abec9355bc5d421 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3174dd33fa8316d29f238f093291ca9bb25e6f58 (diff)
nvme: Use BLK_MQ_S_STOPPED instead of QUEUE_FLAG_STOPPED in blk-mq code
Make nvme_requeue_req() check BLK_MQ_S_STOPPED instead of QUEUE_FLAG_STOPPED. Remove the QUEUE_FLAG_STOPPED manipulations that became superfluous because of this change. Change blk_queue_stopped() tests into blk_mq_queue_stopped(). This patch fixes a race condition: using queue_flag_clear_unlocked() is not safe if any other function that manipulates the queue flags can be called concurrently, e.g. blk_cleanup_queue(). Signed-off-by: Bart Van Assche <[email protected]> Cc: Keith Busch <[email protected]> Cc: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions