aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2021-08-11 15:52:02 +0000
committerJens Axboe <[email protected]>2021-08-17 14:32:45 +0000
commitc797b40ccc340b8a66f7a7842aecc90bf749f087 (patch)
treede1d9571d725388e38b0a814b5b4bd2ea4421e54 /tools/perf/scripts/python/sched-migration.py
parentnbd: Aovid double completion of a request (diff)
downloadkernel-c797b40ccc340b8a66f7a7842aecc90bf749f087.tar.gz
kernel-c797b40ccc340b8a66f7a7842aecc90bf749f087.zip
blk-mq: don't grab rq's refcount in blk_mq_check_expired()
Inside blk_mq_queue_tag_busy_iter() we already grabbed request's refcount before calling ->fn(), so needn't to grab it one more time in blk_mq_check_expired(). Meantime remove extra request expire check in blk_mq_check_expired(). Cc: Keith Busch <[email protected]> Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions