diff options
author | Yahu Gao <gaoyahu19@gmail.com> | 2022-01-07 09:58:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:55 +0300 |
commit | e11293de5cf6d072f2dea99abac0b2e2359b23a4 (patch) | |
tree | b1656be7c1b24bfd514e85d81f37e22993e9af1b /crypto | |
parent | e34806c6c29d7066ac8de17db6c3dc542a629f1b (diff) | |
download | linux-e11293de5cf6d072f2dea99abac0b2e2359b23a4.tar.xz |
block/bfq_wf2q: correct weight to ioprio
[ Upstream commit bcd2be763252f3a4d5fc4d6008d4d96c601ee74b ]
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: Yahu Gao <gaoyahu19@gmail.com>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Link: https://lore.kernel.org/r/20220107065859.25689-1-gaoyahu19@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions