diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-08-11 23:52:02 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-17 08:32:45 -0600 |
commit | c797b40ccc340b8a66f7a7842aecc90bf749f087 (patch) | |
tree | de1d9571d725388e38b0a814b5b4bd2ea4421e54 /lib/compat_audit.c | |
parent | cddce01160582a5f52ada3da9626c052d852ec42 (diff) | |
download | linux-c797b40ccc340b8a66f7a7842aecc90bf749f087.tar.bz2 |
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 <kbusch@kernel.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/20210811155202.629575-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/compat_audit.c')
0 files changed, 0 insertions, 0 deletions