| H A D | blk-iocost.c | 3 * IO cost model based controller. 10 * observable cost metric. This is distinguished from CPU and memory where 22 * While there is no cost metric we can trivially observe, it isn't a 23 * complete mystery. For example, on a rotational device, seek cost 30 * 1. IO Cost Model 32 * IO cost model estimates the cost of an IO given its basic parameters and 33 * history (e.g. the end sector of the last IO). The cost is measured in 34 * device time. If a given IO is estimated to cost 10ms, the device should 37 * Currently, there's only one builtin cost mode 712 cost_to_abs_cost(u64 cost,u32 hw_inuse) cost_to_abs_cost() argument 718 iocg_commit_bio(struct ioc_gq * iocg,struct bio * bio,u64 abs_cost,u64 cost) iocg_commit_bio() argument 1453 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); iocg_wake_fn() local 2474 u64 cost, new_inuse; adjust_inuse_and_calc_cost() local 2534 u64 cost = 0; calc_vtime_cost_builtin() local 2574 u64 cost; calc_vtime_cost() local 2599 u64 cost; calc_size_vtime_cost() local 2616 iocg_handle_over_budget(struct rq_qos * rqos,struct ioc_gq * iocg,struct bio * bio,struct ioc_now * now,struct iocg_wait * wait,bool use_debt,bool ioc_locked,u64 abs_cost,u64 cost) iocg_handle_over_budget() argument 2694 u64 abs_cost, cost, vtime; ioc_rqos_throttle() local 2782 u64 vtime, abs_cost, cost; ioc_rqos_merge() local [all...] |