fs is not a cgroup. handled by blkio
authorSapan Bhatia <gwsapan@gmail.com>
Tue, 9 Oct 2012 17:33:46 +0000 (13:33 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Tue, 9 Oct 2012 17:33:46 +0000 (13:33 -0400)
lxcsu

diff --git a/lxcsu b/lxcsu
index 6bcf2e3..229cb33 100644 (file)
--- a/lxcsu
+++ b/lxcsu
@@ -62,7 +62,7 @@ if (not slice_spec or not pid):
 
 # Enter cgroups
 try:
-    for subsystem in ['cpuset','memory','fs','blkio']:
+    for subsystem in ['cpuset','memory','blkio']:
         open('/sys/fs/cgroup/%s/libvirt/tasks'%subsystem,'w').write(pid)
 except:
     print "Error assigning resources: %s"%slice_name