]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd81ce8d66bba491090f8a262b839bf3b07e78e5
treea520b68aca0f70c42be6931c5e69b29b7a09f8c4
parentab7a55e674d1a3669e485145f29b0dd67614d324
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