diff options
author | Yahu Gao <gaoyahu19@gmail.com> | 2022-01-07 14:58:59 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-16 20:09:14 -0700 |
commit | bcd2be763252f3a4d5fc4d6008d4d96c601ee74b (patch) | |
tree | 0b9b3a75437796bd4bcdff7f28a18df6e9118119 /drivers/md/dm-core.h | |
parent | 8f5fea65b06de1cc51d4fc23fb4d378d1abd6ed7 (diff) | |
download | lwn-bcd2be763252f3a4d5fc4d6008d4d96c601ee74b.tar.gz lwn-bcd2be763252f3a4d5fc4d6008d4d96c601ee74b.zip |
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: 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>
Diffstat (limited to 'drivers/md/dm-core.h')
0 files changed, 0 insertions, 0 deletions