pkg/sysinfo
Qiang Huang 3ed5407e61 Check sysinfo for Cpuset cpu.shares and blkio
Carried: #14015

If kernel is compiled with CONFIG_FAIR_GROUP_SCHED disabled cpu.shares
doesn't exist.
If kernel is compiled with CONFIG_CFQ_GROUP_IOSCHED disabled blkio.weight
doesn't exist.
If kernel is compiled with CONFIG_CPUSETS disabled cpuset won't be
supported.

We need to handle these conditions by checking sysinfo and verifying them.

Signed-off-by: Zefan Li <lizefan@huawei.com>
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-08-05 22:35:18 +08:00
..
README.md Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
sysinfo.go Check sysinfo for Cpuset cpu.shares and blkio 2015-08-05 22:35:18 +08:00
sysinfo_freebsd.go Fix golint warning on pkg/sysinfo 2015-08-01 18:24:49 +08:00
sysinfo_linux.go Check sysinfo for Cpuset cpu.shares and blkio 2015-08-05 22:35:18 +08:00
sysinfo_linux_test.go cleanup sysinfo package 2015-06-17 20:41:14 -04:00
sysinfo_windows.go Fix golint warning on pkg/sysinfo 2015-08-01 18:24:49 +08:00

SysInfo stores information about which features a kernel supports.