Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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)
2764  If actor by which the weight of this queue is multiplied == 1 && actor by which the weight of this queue is multiplied > 1 Then
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  If bfq_bfqq_busy(new_bfqq) Then number of weight-raised busy @bfq_queues ++
2772  flag, set to request a weight, ioprio or ioprio_class change = 1
2775  If actor by which the weight of this queue is multiplied > 1 Then
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  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)
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)
Caller
NameDescribe
bfq_allow_bio_merge
__bfq_insert_requestrns true if it causes the idle timer to be disabled