Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:55:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_merge_bfqqs
Proto:static void bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic, struct bfq_queue *bfqq, struct bfq_queue *new_bfqq)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bfq_data * | bfqd | |
struct bfq_io_cq * | bic | |
struct bfq_queue * | bfqq | |
struct bfq_queue * | new_bfqq |
2746 | bfq_log_bfqq(bfqd, bfqq, "merging with queue %lu", (unsignedlong)pid of the process owning the queue, used for logging purposes ) |
2749 | bfq_bfqq_save_state(bfqq) |
2750 | bfq_bfqq_save_state(new_bfqq) |
2751 | If bfq_bfqq_IO_bound(bfqq) Then bfq_mark_bfqq_IO_bound(new_bfqq) |
2753 | bfq_clear_bfqq_IO_bound(bfqq) |
2765 | actor by which the weight of this queue is multiplied = actor by which the weight of this queue is multiplied |
2766 | current maximum weight-raising time for this queue = current maximum weight-raising time for this queue |
2768 | Value of wr start time when switching to soft rt = Value of wr start time when switching to soft rt |
2770 | If bfq_bfqq_busy(new_bfqq) Then number of weight-raised busy @bfq_queues ++ |
2775 | If actor by which the weight of this queue is multiplied > 1 Then |
2778 | If bfq_bfqq_busy(bfqq) Then number of weight-raised busy @bfq_queues -- |
2782 | bfq_log_bfqq(bfqd, new_bfqq, "merge_bfqqs: wr_busy %d", number of weight-raised busy @bfq_queues ) |
2788 | bic_set_bfqq(bic, new_bfqq, 1) |
2789 | bfq_mark_bfqq_coop(new_bfqq) |
2812 | bfq_release_process_ref(bfqd, bfqq) |
Name | Describe |
---|---|
bfq_allow_bio_merge | |
__bfq_insert_request | rns true if it causes the idle timer to be disabled |
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 |