git://git.onelab.eu
/
lxc-userspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c826c19
)
fs is not a cgroup. handled by blkio
author
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 9 Oct 2012 17:33:46 +0000
(13:33 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 9 Oct 2012 17:33:46 +0000
(13:33 -0400)
lxcsu
patch
|
blob
|
history
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:
# 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
open('/sys/fs/cgroup/%s/libvirt/tasks'%subsystem,'w').write(pid)
except:
print "Error assigning resources: %s"%slice_name