Re: [Libcg-devel] [PATCH] Make cg_mkdir_p() function compatible with read-only fs

2013-05-13 Thread Jan Safranek
On 05/13/2013 01:49 PM, Peter Schiffer wrote: > > There is updated version of this patch, which shouldn't be racy, see > below. I can confirm that mkdir() returns EROFS on read-only fs even > when the directory exists. Acked-By: Jan Safranek > > peter > > > diff --git a/src/api.c b/src/api.c

Re: [Libcg-devel] [PATCH] Make cg_mkdir_p() function compatible with read-only fs

2013-05-13 Thread Peter Schiffer
On 05/13/2013 10:05 AM, Jan Safranek wrote: > On 05/12/2013 02:08 PM, Ivana Varekova wrote: >> Seems ok for me, Jan could you look at it pleas? >> Ivana >> >> - Original Message - >>> From: "Peter Schiffer" >>> To: libcg-devel@lists.sourceforge.net >>> Sent: Monday, February 11, 2013 6:09:

Re: [Libcg-devel] What about new release?

2013-05-13 Thread Jan Safranek
On 05/13/2013 09:47 AM, Ivana Varekova wrote: > There are major changes - template stuff, logging, several bug fixes in git > now. That's why would be good to have new release. > My plan is test the current git a bit and create new rc version this week or > the next one. Then after a month creat

Re: [Libcg-devel] [PATCH] Make cg_mkdir_p() function compatible with read-only fs

2013-05-13 Thread Jan Safranek
On 05/12/2013 02:08 PM, Ivana Varekova wrote: > Seems ok for me, Jan could you look at it pleas? > Ivana > > - Original Message - >> From: "Peter Schiffer" >> To: libcg-devel@lists.sourceforge.net >> Sent: Monday, February 11, 2013 6:09:02 PM >> Subject: [Libcg-devel] [PATCH] Make cg_mkdi

[Libcg-devel] What about new release?

2013-05-13 Thread Ivana Varekova
There are major changes - template stuff, logging, several bug fixes in git now. That's why would be good to have new release. My plan is test the current git a bit and create new rc version this week or the next one. Then after a month create 0.40 (depends on the quality of rc one). Any objecti

Re: [Libcg-devel] blkio.weight not having expected effect

2013-05-13 Thread rpo...@babel.it
davidpark...@yahoo.com wrote: >Hi, I'm running into a cgroup problem under LXC (Ubuntu 12.10 server). >I've >confirmed that blkio.weight is set correctly in the cgroup fs, I've >also >checked that Ubuntu us using the CFQ scheduler by default >(/sys/block/sda/queue/sc

Re: [Libcg-devel] blkio.weight not having expected effect

2013-05-13 Thread David Parks
Perhaps I'm not following that statement clearly. Cgroups create a hierarchy with the top node define at /sys/fs/cgroup//* I've created 2 LXC containers which have their definitions at: /sys/fs/group/blkio/lxc/container-name/* I checked blkio.weight, it's set to, say 100, as expected in my test