# Re: \[PATCH V2\] blk-mq: don't grab rq's refcount in blk\_mq\_check\_expired()

- From: Ming Lei \<hidden\>
- Date: 2021-08-17 01:04:15 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/08/6404746
- Thread: https://ratatoskr.run/linux-block/2021/08/6404533/t.md

```text
On Wed, Aug 11, 2021 at 11:52:02PM +0800, Ming Lei wrote:
> 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 <redacted>
> ---
> V2:
> 	- remove extra request expire check as suggested by Keith
> 	- modify comment a bit
> 

Hello Jens,

Ping...

Thanks,
Ming

```
