Home
last modified time | relevance | path

Searched refs:rq_depth (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/block/
Dblk-wbt.c237 struct rq_depth *rqd = &rwb->rq_depth; in latency_exceeded()
290 struct rq_depth *rqd = &rwb->rq_depth; in rwb_trace_step()
300 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits()
301 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits()
304 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits()
305 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits()
311 if (!rq_depth_scale_up(&rwb->rq_depth)) in scale_up()
321 if (!rq_depth_scale_down(&rwb->rq_depth, hard_throttle)) in scale_down()
330 struct rq_depth *rqd = &rwb->rq_depth; in rwb_arm_timer()
355 struct rq_depth *rqd = &rwb->rq_depth; in wb_timer_fn()
[all …]
Dblk-rq-qos.h38 struct rq_depth { struct
94 bool rq_depth_scale_up(struct rq_depth *rqd);
95 bool rq_depth_scale_down(struct rq_depth *rqd, bool hard_throttle);
96 bool rq_depth_calc_max_depth(struct rq_depth *rqd);
Dblk-iolatency.c129 struct rq_depth rq_depth; member
191 return rq_wait_inc_below(rqw, iolat->rq_depth.max_depth); in iolatency_may_queue()
307 unsigned long old = iolat->rq_depth.max_depth; in scale_change()
321 iolat->rq_depth.max_depth = old; in scale_change()
327 iolat->rq_depth.max_depth = max(old, 1UL); in scale_change()
385 if (iolat->rq_depth.max_depth == 1 && direction < 0) { in check_scale_change()
393 iolat->rq_depth.max_depth = UINT_MAX; in check_scale_change()
472 if (unlikely(issue_as_root && iolat->rq_depth.max_depth != UINT_MAX)) { in iolatency_record_time()
879 if (iolat->rq_depth.max_depth == UINT_MAX) in iolatency_pd_stat()
884 iolat->rq_depth.max_depth, avg_lat, cur_win); in iolatency_pd_stat()
[all …]
Dblk-rq-qos.c104 bool rq_depth_calc_max_depth(struct rq_depth *rqd) in rq_depth_calc_max_depth()
152 bool rq_depth_scale_up(struct rq_depth *rqd) in rq_depth_scale_up()
171 bool rq_depth_scale_down(struct rq_depth *rqd, bool hard_throttle) in rq_depth_scale_down()
Dblk-wbt.h70 struct rq_depth rq_depth; member