Hi,
lxc_cgroup_path_get currently cache the cgroup mount point plus the
container name at the same time, making every call of the function
returning the same value.
It mean that actually every call to lxc_cgroup_get with a different
container name will in fact use the same container name as used f
On 03/18/2011 06:40 PM, Farcasi Ana-Maria wrote:
> Hello,
>
> As mentioned in our previous email, we were having issues getting bandwidth
> limitation working on cgroup ( with net_cls ) and tc. We've been running
> various tests and scenarios but found no way to enable proper limitation.
> Througho
Signed-off-by: Michael Santos
---
src/lxc/confile.c | 37 +
1 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/src/lxc/confile.c b/src/lxc/confile.c
index 1d30cba..791f04f 100644
--- a/src/lxc/confile.c
+++ b/src/lxc/confile.c
@@ -195,7 +195,7 @@
Signed-off-by: Michael Santos
---
src/lxc/conf.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index f73eaac..ae5b259 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -205,14 +205,18 @@ static int run_script(const char *name, co
Signed-off-by: Michael Santos
---
src/lxc/arguments.c | 16 +---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/lxc/arguments.c b/src/lxc/arguments.c
index 3c11661..51ebadb 100644
--- a/src/lxc/arguments.c
+++ b/src/lxc/arguments.c
@@ -96,6 +96,9 @@ static void
IFNAMSIZ includes the trailing NULL.
Signed-off-by: Michael Santos
---
src/lxc/network.c | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/lxc/network.c b/src/lxc/network.c
index 2ec8b71..420117a 100644
--- a/src/lxc/network.c
+++ b/src/lxc/netwo
Signed-off-by: Michael Santos
---
src/lxc/lxc_unshare.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lxc/lxc_unshare.c b/src/lxc/lxc_unshare.c
index a82490e..eb93c89 100644
--- a/src/lxc/lxc_unshare.c
+++ b/src/lxc/lxc_unshare.c
@@ -46,10 +46,10 @@ void usage(ch