Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bcd2be76 authored by Yahu Gao's avatar Yahu Gao Committed by Jens Axboe
Browse files

block/bfq_wf2q: correct weight to ioprio


The return value is ioprio * BFQ_WEIGHT_CONVERSION_COEFF or 0.
What we want is ioprio or 0.
Correct this by changing the calculation.

Signed-off-by: default avatarYahu Gao <gaoyahu19@gmail.com>
Acked-by: default avatarPaolo Valente <paolo.valente@linaro.org>
Link: https://lore.kernel.org/r/20220107065859.25689-1-gaoyahu19@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8f5fea65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment