Function report | 
Source Code:block\bfq-iosched.c | 
Create Date:2022-07-28 17:55:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bfq_bio_merge
Proto:static bool bfq_bio_merge(struct blk_mq_hw_ctx *hctx, struct bio *bio, unsigned int nr_segs)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct blk_mq_hw_ctx * | hctx | |
| struct bio * | bio | |
| unsigned int | nr_segs | 
| 2217 | bfqd = elevator_data | 
| 2226 | bic = q_bic_lookup - search into @ioc a bic associated to @bfqd.*@bfqd: the lookup key.*@ioc: the io_context of the process doing I/O.*@q: the request queue. | 
| 2229 | spin_lock_irq( & lock) | 
| 2233 | Else bfqq associated with the task issuing current bio for merging = NULL | 
| 2239 | If free Then blk_mq_free_request(free) | 
| 2241 | spin_unlock_irq( & lock) | 
| 2243 | Return ret | 
| 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  |