Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kyber_completed_request

Proto:static void kyber_completed_request(struct request *rq, u64 now)

Type:void

Parameter:

TypeParameterName
struct request *rq
u64now
637  kqd = elevator_data
642  sched_domain = kyber_sched_domain( op and common flags )
643  If sched_domain == KYBER_OTHER Then Return
646  cpu_latency = get_cpu_ptr(cpu_latency)
647  target = Target latencies in nanoseconds. [sched_domain]
648  add_latency_sample(cpu_latency, sched_domain, KYBER_TOTAL_LATENCY, target, now - Time that this request was allocated for this IO. )
650  add_latency_sample(cpu_latency, sched_domain, KYBER_IO_LATENCY, target, now - Time that I/O was submitted to the device. )
652  put_cpu_ptr(cpu_latency)
654  mer_reduce - Modify a timer's timeout if it would reduce the timeout*@timer: The timer to be modified*@expires: New timeout in jiffies* timer_reduce() is very similar to mod_timer(), except that it will only* modify a running timer if that would reduce