Function report |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-28 17:52:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kyber_bio_merge
Proto:static bool kyber_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 |
| 568 | khd = @sched_data: Pointer owned by the IO scheduler attached to a request* queue. It's up to the IO scheduler how to use this pointer. |
| 572 | rq_list = rq_list[sched_domain] |
| 575 | spin_lock( & Used to ensure operations on rq_list and kcq_map to be an atmoic one.* Also protect the rqs on rq_list when merge.) |
| 577 | spin_unlock( & Used to ensure operations on rq_list and kcq_map to be an atmoic one.* Also protect the rqs on rq_list when merge.) |
| 579 | Return merged |
| 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 |