Re: [systemd-devel] [PATCH] Fix CPUShares configuration option

2013-05-29 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 24, 2013 at 01:34:53PM -0400, Eelco Dolstra wrote:
> This fixes the error message "Unknown or unsupported cgroup attribute
> CPUShares".
Applied.

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


[systemd-devel] [PATCH] Fix CPUShares configuration option

2013-05-24 Thread Eelco Dolstra
This fixes the error message "Unknown or unsupported cgroup attribute
CPUShares".
---
 src/core/cgroup-semantics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/cgroup-semantics.c b/src/core/cgroup-semantics.c
index 82b02bb..7df9d01 100644
--- a/src/core/cgroup-semantics.c
+++ b/src/core/cgroup-semantics.c
@@ -255,7 +255,7 @@ static int map_blkio(const CGroupSemantics *s, const char 
*value, char **ret) {
 }
 
 static const CGroupSemantics semantics[] = {
-{ "cpu", "cpu.shares", "CPUShare",  
false, parse_cpu_shares,  NULL,   NULL },
+{ "cpu", "cpu.shares", "CPUShares", 
false, parse_cpu_shares,  NULL,   NULL },
 { "memory",  "memory.soft_limit_in_bytes", "MemorySoftLimit",   
false, parse_memory_limit,NULL,   NULL },
 { "memory",  "memory.limit_in_bytes",  "MemoryLimit",   
false, parse_memory_limit,NULL,   NULL },
 { "devices", "devices.allow",  "DeviceAllow",   
true,  parse_device,  map_device, NULL },
-- 
1.8.2.3

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