函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:31:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bfq_merge_bfqqs

函数原型:static void bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic, struct bfq_queue *bfqq, struct bfq_queue *new_bfqq)

返回类型:void

参数:

类型参数名称
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  如果bfq_bfqq_IO_bound(bfqq)则bfq_mark_bfqq_IO_bound(new_bfqq)
2753  bfq_clear_bfqq_IO_bound(bfqq)
2764  如果actor by which the weight of this queue is multiplied 恒等于1且actor by which the weight of this queue is multiplied 大于1则
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
2767  Start time of the current weight-raising period if* the @bfq-queue is being weight-raised, otherwise* finish time of the last weight-raising period.等于Start time of the current weight-raising period if* the @bfq-queue is being weight-raised, otherwise* finish time of the last weight-raising period.
2768  Value of wr start time when switching to soft rt等于Value of wr start time when switching to soft rt
2770  如果bfq_bfqq_busy(new_bfqq)则 number of weight-raised busy @bfq_queues 自加
2772  flag, set to request a weight, ioprio or ioprio_class change 等于1
2775  如果actor by which the weight of this queue is multiplied 大于1则
2776  actor by which the weight of this queue is multiplied 等于1
2777  flag, set to request a weight, ioprio or ioprio_class change 等于1
2778  如果bfq_bfqq_busy(bfqq)则 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)
2800  Pointer to the bfq_io_cq owning the bfq_queue, set to %NULL* if the queue is shared. = NULL
2810  pid of the process owning the queue, used for logging purposes 等于负1
2811  Pointer to the bfq_io_cq owning the bfq_queue, set to %NULL* if the queue is shared. = NULL
2812  bfq_release_process_ref(bfqd, bfqq)
调用者
名称描述
bfq_allow_bio_merge
__bfq_insert_requestrns true if it causes the idle timer to be disabled