mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
blkio: fix incorrect setting of cpu_shares
We should set up blockio_weight not cpu_shares.
This commit is contained in:
parent
d182614649
commit
f236910365
Notes:
Lennart Poettering
2013-10-04 17:11:46 +02:00
Backport: bugfix
@ -216,7 +216,7 @@ int bus_cgroup_set_property(
|
||||
return -EINVAL;
|
||||
|
||||
if (mode != UNIT_CHECK) {
|
||||
c->cpu_shares = ul;
|
||||
c->blockio_weight = ul;
|
||||
unit_write_drop_in_private_format(u, mode, name, "BlockIOWeight=%lu", ul);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user