summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-03-27 20:51:32 +0300
committerJens Axboe <axboe@fb.com>2017-03-28 17:02:20 +0300
commitcd5ab1b0fcb44ab5d00358edc9b0b2e2a966fb22 (patch)
tree40923487d04cea7b18a8950bfd6f0e45820edbe2 /fs
parent327ffb9b37a9df80dad4fa176fbf0c0fb1ac4ac0 (diff)
downloadlinux-cd5ab1b0fcb44ab5d00358edc9b0b2e2a966fb22.tar.xz
blk-throttle: add .low interface
Add low limit for cgroup and corresponding cgroup interface. To be consistent with memcg, we allow users configure .low limit higher than .max limit. But the internal logic always assumes .low limit is lower than .max limit. So we add extra bps/iops_conf fields in throtl_grp for userspace configuration. Old bps/iops fields in throtl_grp will be the actual limit we use for throttling. Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions