Function report |
Source Code:block\blk-mq-sched.c |
Create Date:2022-07-28 17:15:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_mq_sched_bio_merge
Proto:bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct bio * | bio | |
unsigned int | nr_segs |
329 | hctx = lk_mq_map_queue() - map (cmd_flags,type) to hardware queue*@q: request queue*@flags: request command flags*@cpu: cpu ctx |
330 | bool ret = false |
341 | ret = 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. |
342 | spin_unlock( & lock) |
345 | Return ret |
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 |