git://git.onelab.eu
/
lxc-userspace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs is not a cgroup. handled by blkio
[lxc-userspace.git]
/
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