Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_mq_sched_bypass_insert

Proto:static bool blk_mq_sched_bypass_insert(struct blk_mq_hw_ctx *hctx, bool has_sched, struct request *rq)

Type:bool

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
boolhas_sched
struct request *rq
365  If rq_flags & quest for flush sequence Then
366  spin_lock( & @lock: Protects the dispatch list. )
367  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
368  spin_unlock( & @lock: Protects the dispatch list. )
369  Return true
372  If has_sched Then rq_flags |= levator knows about this request
375  Return false
Caller
NameDescribe
blk_mq_sched_insert_request