Repository navigation
Commit 816415c
committed
docs(systemd): state the 250 floor for the bfq weight pre-image
The pre-image of systemd's BFQ_WEIGHT() is only exact from systemd 250.
Older releases derive io.bfq.weight from IOWeight differently: 243 to
247 write it as is, so the kernel rejects values above 1000, and 248 and
249 write (weight + 9) / 10. Document the floor on
bfq_weight_to_io_weight and skip the contest io weight group below 250.
Version-dependent mapping is left out because those older semantics are
themselves broken.
Signed-off-by: yjjnls <yjjnls@users.noreply.github.com>1 parent 9371160 commit 816415c
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
187 | 189 | | |
188 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
189 | 194 | | |
190 | 195 | | |
191 | 196 | | |
| |||
0 commit comments