]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9d56ab9e50fe2c830b97de2cdf094734ac332be
treefe877239dfc354b243efd2a27ad48afcd5e065a1
parentdd81ce8d66bba491090f8a262b839bf3b07e78e5
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