OSDN Git Service

block, bfq: save also weight-raised service on queue merging
authorPaolo Valente <paolo.valente@linaro.org>
Mon, 25 Jan 2021 19:02:46 +0000 (20:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 21:18:34 +0000 (14:18 -0700)
commite673914d52f913584cc4c454dfcff2e8eb04533f
treea520b68aca0f70c42be6931c5e69b29b7a09f8c4
parentd1f600fa4732dac36c71a03b790f0c829a076475
block, bfq: save also weight-raised service on queue merging

To prevent weight-raising information from being lost on bfq_queue merging,
also the amount of service that a bfq_queue receives must be saved and
restored when the bfq_queue is merged and split, respectively.

Tested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c
block/bfq-iosched.h