Searched defs:pi2 (Results 1 - 1 of 1) sorted by relevance

/drivers/md/
H A Ddm-service-time.c182 * Compare the estimated service time of 2 paths, pi1 and pi2,
187 * 0 : no difference between pi1 and pi2
188 * > 0 : pi2 is better
196 static int st_compare_load(struct path_info *pi1, struct path_info *pi2, argument
202 sz2 = atomic_read(&pi2->in_flight_size);
207 if (pi1->relative_throughput == pi2->relative_throughput)
215 !pi1->relative_throughput || !pi2->relative_throughput)
216 return pi2->relative_throughput - pi1->relative_throughput;
222 * Service time using pi2:
223 * st2 = (sz2 + incoming) / pi2
[all...]

Completed in 62 milliseconds