summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-03-27 10:51:39 -0700
committerJens Axboe <axboe@fb.com>2017-03-28 08:02:20 -0600
commitaec242468cb84b8eea7130c10530a69d2b352bff (patch)
treeca582c28dd2c2023025456691b19ff420b5939e5 /Kconfig
parentd61fcfa4bb18992dc8e171996808e1034dc643bb (diff)
downloadlinux-0-day-aec242468cb84b8eea7130c10530a69d2b352bff.tar.gz
linux-0-day-aec242468cb84b8eea7130c10530a69d2b352bff.tar.xz
blk-throttle: detect completed idle cgroup
cgroup could be assigned a limit, but doesn't dispatch enough IO, eg the cgroup is idle. When this happens, the cgroup doesn't hit its limit, so we can't move the state machine to higher level and all cgroups will be throttled to their lower limit, so we waste bandwidth. Detecting idle cgroup is hard. This patch handles a simple case, a cgroup doesn't dispatch any IO. We ignore such cgroup's limit, so other cgroups can use the bandwidth. Please note this will be replaced with a more sophisticated algorithm later, but this demonstrates the idea how we handle idle cgroups, so I leave it here. Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions