Re: [PATCH 1/3] cgroup: Enable cgroup hierarchy for blkio cgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 23, 2011 at 02:17:46PM +0800, Gui Jianfeng wrote:
> Enable cgroup hierarchy for blkio cgroup.
> 
> Signed-off-by: Gui Jianfeng <guijianfen@xxxxxxxxxxxxxx>
> ---
>  src/util/cgroup.c |    2 +-
>  src/util/cgroup.h |    1 +
>  2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/util/cgroup.c b/src/util/cgroup.c
> index cd9caba..309f4e9 100644
> --- a/src/util/cgroup.c
> +++ b/src/util/cgroup.c
> @@ -37,7 +37,7 @@
>  
>  VIR_ENUM_IMPL(virCgroupController, VIR_CGROUP_CONTROLLER_LAST,
>                "cpu", "cpuacct", "cpuset", "memory", "devices",
> -              "freezer");
> +              "freezer", "blkio");
>  
>  struct virCgroupController {
>      int type;
> diff --git a/src/util/cgroup.h b/src/util/cgroup.h
> index 964da7a..67b1299 100644
> --- a/src/util/cgroup.h
> +++ b/src/util/cgroup.h
> @@ -22,6 +22,7 @@ enum {
>      VIR_CGROUP_CONTROLLER_MEMORY,
>      VIR_CGROUP_CONTROLLER_DEVICES,
>      VIR_CGROUP_CONTROLLER_FREEZER,
> +    VIR_CGROUP_CONTROLLER_BLKIO,
>  
>      VIR_CGROUP_CONTROLLER_LAST
>  };

ACK

Daniel

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]