提交 b58241a6 编写于 作者: G Gui Jianfeng 提交者: Eric Blake

cgroup: Enable cgroup hierarchy for blkio cgroup

Enable cgroup hierarchy for blkio cgroup
Acked-by: NDaniel P. Berrange <berrange@redhat.com>
Signed-off-by: NGui Jianfeng <guijianfeng@cn.fujitsu.com>
上级 fbaed1a7
...@@ -152,6 +152,7 @@ Patches have also been contributed by: ...@@ -152,6 +152,7 @@ Patches have also been contributed by:
Alon Levy <alevy@redhat.com> Alon Levy <alevy@redhat.com>
Hero Phương <herophuong93@gmail.com> Hero Phương <herophuong93@gmail.com>
Zdenek Styblik <stybla@turnovfree.net> Zdenek Styblik <stybla@turnovfree.net>
Gui Jianfeng <guijianfeng@cn.fujitsu.com>
[....send patches to get your name here....] [....send patches to get your name here....]
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
VIR_ENUM_IMPL(virCgroupController, VIR_CGROUP_CONTROLLER_LAST, VIR_ENUM_IMPL(virCgroupController, VIR_CGROUP_CONTROLLER_LAST,
"cpu", "cpuacct", "cpuset", "memory", "devices", "cpu", "cpuacct", "cpuset", "memory", "devices",
"freezer"); "freezer", "blkio");
struct virCgroupController { struct virCgroupController {
int type; int type;
......
...@@ -22,6 +22,7 @@ enum { ...@@ -22,6 +22,7 @@ enum {
VIR_CGROUP_CONTROLLER_MEMORY, VIR_CGROUP_CONTROLLER_MEMORY,
VIR_CGROUP_CONTROLLER_DEVICES, VIR_CGROUP_CONTROLLER_DEVICES,
VIR_CGROUP_CONTROLLER_FREEZER, VIR_CGROUP_CONTROLLER_FREEZER,
VIR_CGROUP_CONTROLLER_BLKIO,
VIR_CGROUP_CONTROLLER_LAST VIR_CGROUP_CONTROLLER_LAST
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册