• S
    blk-throttle: add .low interface · cd5ab1b0
    Shaohua Li 提交于
    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: NShaohua Li <shli@fb.com>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    cd5ab1b0
blk-throttle.c 46.1 KB