| Function report | 
| Source Code: block\blk-mq-sched.c | Create Date:2022-07-28 17:15:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Reverse check our software queue for entries that we could potentially* merge with. Currently includes a hand-wavy stop count of 8, to not spend* too much time checking for merges.
Proto:static bool blk_mq_attempt_merge(struct request_queue *q, struct blk_mq_hw_ctx *hctx, struct blk_mq_ctx *ctx, struct bio *bio, unsigned int nr_segs)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | |
| struct blk_mq_hw_ctx * | hctx | |
| struct blk_mq_ctx * | ctx | |
| struct bio * | bio | |
| unsigned int | nr_segs | 
| 314 | lockdep_assert_held( & lock) | 
| 317 | rq_merged++ | 
| 318 | Return true | 
| 321 | Return false | 
| Name | Describe | 
|---|---|
| __blk_mq_sched_bio_merge | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |