Searched hist:"22 ed8a93" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-iolatency.c | 22ed8a93 Fri Sep 28 12:45:41 CDT 2018 Josef Bacik <josef@toxicpanda.com> blk-iolatency: deal with small samples
There is logic to keep cgroups that haven't done a lot of IO in the most recent scale window from being punished for over-active higher priority groups. However for things like ssd's where the windows are pretty short we'll end up with small numbers of samples, so 5% of samples will come out to 0 if there aren't enough. Make the floor 1 sample to keep us from improperly bailing out of scaling down.
Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> 22ed8a93 Fri Sep 28 12:45:41 CDT 2018 Josef Bacik <josef@toxicpanda.com> blk-iolatency: deal with small samples There is logic to keep cgroups that haven't done a lot of IO in the most recent scale window from being punished for over-active higher priority groups. However for things like ssd's where the windows are pretty short we'll end up with small numbers of samples, so 5% of samples will come out to 0 if there aren't enough. Make the floor 1 sample to keep us from improperly bailing out of scaling down. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|