summaryrefslogtreecommitdiffstats
path: root/block/bfq-wf2q.c
diff options
context:
space:
mode:
authorPaolo Valente <paolo.valente@linaro.org>2018-08-16 18:51:15 +0200
committerJens Axboe <axboe@kernel.dk>2018-08-16 21:08:10 +0200
commit8a511ba5feec5947bee0635cff8bd796d5f77e3e (patch)
tree207364ee03acae3e83532d35146021316202f40b /block/bfq-wf2q.c
parentblk-wbt: fix IO hang in wbt_wait() (diff)
downloadlinux-8a511ba5feec5947bee0635cff8bd796d5f77e3e.tar.xz
linux-8a511ba5feec5947bee0635cff8bd796d5f77e3e.zip
block, bfq: readd missing reset of parent-entity service
The received-service counter needs to be equal to 0 when an entity is set in service. Unfortunately, commit "block, bfq: fix service being wrongly set to zero in case of preemption" mistakenly removed the resetting of this counter for the parent entities of the bfq_queue being set in service. This commit fixes this issue by resetting service for parent entities, directly on the expiration of the in-service bfq_queue. Fixes: 9fae8dd59ff3 ("block, bfq: fix service being wrongly set to zero in case of preemption") Signed-off-by: Paolo Valente <paolo.valente@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-wf2q.c')
0 files changed, 0 insertions, 0 deletions