On Fri, Aug 23, 2013 at 05:53:23PM +0800, Gao feng wrote:
> We should set up blockio_weight not cpu_shares.
> 
> Signed-off-by: Gao feng <gaof...@cn.fujitsu.com>
No need for signed-of-by.

> ---
>  src/core/dbus-cgroup.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c
> index 8ad3d11..9e97b20 100644
> --- a/src/core/dbus-cgroup.c
> +++ b/src/core/dbus-cgroup.c
> @@ -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);
>                  }
Ooops, applied.

Zbyszek
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to