Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:09:14
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_rq_timed_out

Proto:static void blk_mq_rq_timed_out(struct request *req, bool reserved)

Type:void

Parameter:

TypeParameterName
struct request *req
boolreserved
822  rq_flags |= ->timeout has been called, don't expire again
823  If timeout Then
826  ret = timeout(req, reserved)
827  If ret == drivers has completed the command Then Return
829  WARN_ON_ONCE(ret != reset timer and try again )
832  lk_add_timer - Start timeout timer for a single request*@req: request that is about to start running.* Notes:* Each request has its own timer, and as it is added to the queue, we* set up the timer. When the request completes, we cancel the timer.
Caller
NameDescribe
blk_mq_check_expired