Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_mq_sched_allow_merge

Proto:static inline bool blk_mq_sched_allow_merge(struct request_queue *q, struct request *rq, struct bio *bio)

Type:bool

Parameter:

TypeParameterName
struct request_queue *q
struct request *rq
struct bio *bio
48  e = elevator
50  If e && allow_merge Then Return allow_merge(q, rq, bio)
53  Return true
Caller
NameDescribe
blk_mq_sched_try_merge
blk_mq_bio_list_mergeIterate list of requests and see if we can merge this bio with any* of them.