diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2013-08-28 12:10:16 +0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-28 08:04:56 -0400 |
commit | e862b60f1c77bc12bf49475930f79ce68489828a (patch) | |
tree | d6487bcb81422adc6aba9671a04ba6279f16afdb /src/core/load-fragment.c | |
parent | 5af726cced7f87d6f7b7d6bd1dd5ee44ded5aa7b (diff) |
blcokio bandwidth: add missing set of CGroupBlockIODeviceBandwidth's read
BlockIOReadBandwidth and BlockIOWriteBandwidth both use
config_parse_blockio_bandwidth to set up CGroupBlockIODeviceBandwidth,
We should set the read value based on the left values
in config files.
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index e5fc4a3bd9..4714687955 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -2253,6 +2253,7 @@ int config_parse_blockio_bandwidth( b->path = path; path = NULL; b->bandwidth = (uint64_t) bytes; + b->read = streq("BlockIOReadBandwidth", lvalue); LIST_PREPEND(CGroupBlockIODeviceBandwidth, device_bandwidths, c->blockio_device_bandwidths, b); |