Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:To be deemed as soft real-time, an application must meet two* requirements

Proto:static unsigned long bfq_bfqq_softrt_next_start(struct bfq_data *bfqd, struct bfq_queue *bfqq)

Type:unsigned long

Parameter:

TypeParameterName
struct bfq_data *bfqd>bfq_slice_idle tends to filter out greedy applications,
struct bfq_queue *bfqq>soft_rt_next_start is constantly used to lower-bound the
3876  Return max3 - return maximum of three values*@x: first value*@y: second value*@z: third value(Minimum time instant such that, only if a new request is* enqueued after this time instant in an idle @bfq_queue with* no outstanding requests, then the task associated with the* queue it is deemed as soft real-time (see the comments on* the function , Time of the last transition of the @bfq_queue from idle to* backlogged. + HZ * Cumulative service received from the @bfq_queue since the* last transition from idle to backlogged. / Max service-rate for a soft real-time queue, in sectors/sec , jiffies + secs_to_jiffies - Convert nsecs in u64 to jiffies*@n: nsecs in u64* Unlike {m,u}secs_to_jiffies, type of input is not unsigned int but u64.* And this doesn't return MAX_JIFFY_OFFSET since this function is designed + 4)
Caller
NameDescribe
bfq_bfqq_expireq_bfqq_expire - expire a queue.*@bfqd: device owning the queue.*@bfqq: the queue to expire.*@compensate: if true, compensate for the time spent idling.*@reason: the reason causing the expiration.* If the process associated with bfqq does slow I/O (e
bfq_completed_request