diff options
author | Josef Bacik <[email protected]> | 2018-09-28 13:45:41 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-09-28 11:47:29 -0600 |
commit | 22ed8a93adc7a9cbb2c0a0fc1d7f10068a1f84c1 (patch) | |
tree | 2e1b6b870178f979740217aad4a0644c69a3811b /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 9f60511a021e677c43b3e2d1a890e3d0d372e394 (diff) |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions