Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:55:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_allow_bio_merge
Proto:static bool bfq_allow_bio_merge(struct request_queue *q, struct request *rq, struct bio *bio)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct request * | rq | |
| struct bio * | bio |
| 2818 | bfqd = elevator_data |
| 2819 | is_sync = Reads are always treated as synchronous, as are requests with the FUA or* PREFLUSH flag. Other operations may be marked as synchronous using the* REQ_SYNC flag. |
| 2825 | If is_sync && Not rq_is_sync(rq) Then Return false |
| 2832 | If Not bfqq Then Return false |
| 2839 | new_bfqq = Attempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues |
| 2840 | If new_bfqq Then |
| 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 |