On Fri, 30.08.13 10:56, Gao feng (gaof...@cn.fujitsu.com) wrote:

> This patch allows user to set up BlockIOReadBandwidth and 
> BlockIOWriteBandwidth
> for unit through systemctl. Such as
> 
> systemctl set-property sshd.service BlockIOReadBandwidth="/dev/sda 100000"
> systemctl set-property sshd.service BlockIOWriteBandwidth="/dev/sda 200000"

Applied, with one change though. I replaced safe_atou64() by
parse_bytes() so that people can specifiy values like "5M" or so instead
of 5242880, the same way as we allow this in unit files.

Thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to