diff options
| author | Francesco Pollicino <[email protected]> | 2019-03-12 09:59:34 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-04-01 08:15:40 -0600 |
| commit | fffca087d587b03d0d0dca2e86bf8e688fbf2c18 (patch) | |
| tree | 2ea5b0643ecf6adf4971033b21deaa9cbae63f03 /tools/perf/scripts/python/sched-migration.py | |
| parent | 1e66413c4f68e2a61a210e4f5ff5df7a2ab86a5b (diff) | |
block, bfq: save & resume weight on a queue merge/split
bfq saves the state of a queue each time a merge occurs, to be
able to resume such a state when the queue is associated again
with its original process, on a split.
Unfortunately bfq does not save & restore also the weight of the
queue. If the weight is not correctly resumed when the queue is
recycled, then the weight of the recycled queue could differ
from the weight of the original queue.
This commit adds the missing save & resume of the weight.
Tested-by: Holger Hoffstätte <[email protected]>
Tested-by: Oleksandr Natalenko <[email protected]>
Signed-off-by: Francesco Pollicino <[email protected]>
Signed-off-by: Paolo Valente <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions