diff options
author | Ming Lei <[email protected]> | 2021-08-11 23:52:02 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-17 08:32:45 -0600 |
commit | c797b40ccc340b8a66f7a7842aecc90bf749f087 (patch) | |
tree | de1d9571d725388e38b0a814b5b4bd2ea4421e54 /lib/test_overflow.c | |
parent | cddce01160582a5f52ada3da9626c052d852ec42 (diff) |
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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions