diff options
author | Josef Bacik <jbacik@fb.com> | 2018-07-03 18:15:03 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 18:07:54 +0300 |
commit | ca47e8c72ae141587cabf3dab693f6754d8c416b (patch) | |
tree | 92d23a5608cdfa17635fe78da7b979704e61eed5 /mm/kasan | |
parent | b351f0c76c3eb94c9ccfb68d0b23899a35e47f27 (diff) | |
download | linux-ca47e8c72ae141587cabf3dab693f6754d8c416b.tar.xz |
mm: skip readahead if the cgroup is congested
We noticed in testing we'd get pretty bad latency stalls under heavy
pressure because read ahead would try to do its thing while the cgroup
was under severe pressure. If we're under this much pressure we want to
do as little IO as possible so we can still make progress on real work
if we're a throttled cgroup, so just skip readahead if our group is
under pressure.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions