Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_max_budget_store

Proto:static ssize_t bfq_max_budget_store(struct elevator_queue *e, const char *page, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct elevator_queue *e
const char *page
size_tcount
6672  bfqd = elevator_data
6676  ret = bfq_var_store( & __data, (page))
6677  If ret Then Return ret
6680  If __data == 0 Then maximum budget allotted to a bfq_queue before rescheduling = In autotuning mode, max_budget is dynamically recomputed as the* amount of sectors transferred in timeout at the estimated peak* rate. This enables BFQ to utilize a full timeslice with a full* budget, even if the in-service queue is served at peak rate
6682  Else
6683  If __data > INT_MAX Then __data = INT_MAX
6685  maximum budget allotted to a bfq_queue before rescheduling = __data
6688  user-configured max budget value (0 for auto-tuning) = __data
6690  Return count