| 函数逻辑报告 | 
| Source Code: block\blk-mq.h | Create Date:2022-07-27 13:22:28 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
函数原型:static inline struct blk_plug *blk_mq_plug(struct request_queue *q, struct bio *bio)
返回类型:struct blk_plug
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct request_queue * | q | |
| struct bio * | bio | 
| 252 | 如果非blk_queue_is_zoned(q)或非op_is_write(bio_op(bio))则返回:plug | 
| 256 | 返回:NULL | 
| 名称 | 描述 | 
|---|---|
| blk_attempt_plug_merge | lk_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 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |