Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_mq_plug() - Get caller context plug*@q: request queue*@bio : the bio being submitted by the caller context* Plugging, by design, may delay the insertion of BIOs into the elevator in* order to increase BIO merging opportunities

Proto:static inline struct blk_plug *blk_mq_plug(struct request_queue *q, struct bio *bio)

Type:struct blk_plug

Parameter:

TypeParameterName
struct request_queue *q
struct bio *bio
252  If Not blk_queue_is_zoned(q) || Not op_is_write(bio_op(bio)) Then Return plug
256  Return NULL
Caller
NameDescribe
blk_attempt_plug_mergelk_attempt_plug_merge - try to merge with %current's plugged list*@q: request_queue new bio is being queued at*@bio: new bio being queued*@nr_segs: number of segments in @bio*@same_queue_rq: pointer to &struct request that gets filled in when* another
blk_mq_make_request