Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:55:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_bfqq_save_state

Proto:static void bfq_bfqq_save_state(struct bfq_queue *bfqq)

Type:void

Parameter:

TypeParameterName
struct bfq_queue *bfqq
2679  bic = Pointer to the bfq_io_cq owning the bfq_queue, set to %NULL* if the queue is shared.
2686  If Not bic Then Return
2689  * Save the weight when a merge occurs, to be able * to restore it in case of split. If the weight is not * correctly resumed when the queue is recycled, * then the weight of the recycled queue could differ * from the weight of the original queue. = original weight, used to implement weight boosting
2690  saved_ttime = associated @bfq_ttime struct
2691  * Snapshot of the has_short_time flag before merging; taken * to remember its value while the queue is merged, so as to * be able to restore it in case of split. = bfq_bfqq_has_short_ttime(bfqq)
2692  * Same purpose as the previous two fields for the I/O bound * classification of a queue. = bfq_bfqq_IO_bound(bfqq)
2693  * Same purpose as the previous fields for the value of the * field keeping the queue's belonging to a large burst = bfq_bfqq_in_large_burst(bfqq)
2694  * True if the queue belonged to a burst list before its merge * with another cooperating queue. = Not hlist_unhashed( & de for the device's burst list )
2695  If Value for the false possibility is greater at compile time(bfq_bfqq_just_created(bfqq) && !bfq_bfqq_in_large_burst(bfqq) && if set to true, low-latency heuristics are enabled ) Then
2707  * Similar to previous fields: save wr information. = * Maximum factor by which the weight of a weight-raised queue * is multiplied.
2708  saved_wr_start_at_switch_to_srt = Return the farthest past time instant according to jiffies* macros.
2709  saved_wr_cur_max_time = bfq_wr_duration(parent bfq_data )
2710  saved_last_wr_start_finish = jiffies
2711  Else
2712  * Similar to previous fields: save wr information. = actor by which the weight of this queue is multiplied
2713  saved_wr_start_at_switch_to_srt = Value of wr start time when switching to soft rt
2715  saved_last_wr_start_finish = 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.
2716  saved_wr_cur_max_time = current maximum weight-raising time for this queue
Caller
NameDescribe
bfq_merge_bfqqs