OSDN Git Service

block, bfq: save also injection state on queue merging
authorPaolo Valente <paolo.valente@linaro.org>
Mon, 25 Jan 2021 19:02:47 +0000 (20:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 21:18:35 +0000 (14:18 -0700)
commit5a5436b98d5cd2714feaaa579cec49dd7f7057bb
treefe877239dfc354b243efd2a27ad48afcd5e065a1
parente673914d52f913584cc4c454dfcff2e8eb04533f
block, bfq: save also injection state on queue merging

To prevent injection 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