chiark / gitweb /
systemcl: add support for setting BlockIORead/WriteBandwidth for unit
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 30 Aug 2013 02:56:02 +0000 (10:56 +0800)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Sep 2013 15:29:55 +0000 (17:29 +0200)
commit670612567ba54808fea06c445c6f2a7ee2d58197
tree59bdbee4ee36945ce4b215681996dc8b8fd65f22
parentf004c2ca11b1700fb8539a667194e8cd86cef7be
systemcl: add support for setting BlockIORead/WriteBandwidth for unit

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"
src/systemctl/systemctl.c