On 2014/6/27 19:19, Ivana Varekova wrote:
> 
> 
> ----- Original Message -----
>> From: "Weng Meiling" <wengmeiling.w...@huawei.com>
>> To: "Ivana Varekova" <varek...@redhat.com>
>> Cc: "libo chen" <libo.c...@huawei.com>, "Huang Qiang" 
>> <h.huangqi...@huawei.com>, "Libcg Development list"
>> <libcg-devel@lists.sourceforge.net>, "Li Zefan" <lize...@huawei.com>
>> Sent: Friday, June 27, 2014 10:53:05 AM
>> Subject: [PATCH v4] cgdelete:fix the display problem
>>
>>
>> When multi subsystems mounted on one place like this:
>>
>> $ lssubsys -m
>> cpu,cpuacct /cgroup/cpu
>>
>> $ lscgroup
>> cpu,cpuacct:/
>> cpu,cpuacct:/test
>>
>> if we delete the cgroup with the cgdelete -g, and specifying multi
>> controllers like this:
>>
>> $ cgdelete -g cpu,cpuacct:test
>>
>> or
>>
>> $ cgdelete -g cpu:test -g cpuacct:test
>>
>> it will report error:
>> cgdelete: cannot remove group 'test': No such file or directory
>>
>> this patch fix the problem.
>>
>> v1 -> v2
>>  - make cgdelete -g cpu:/test -g cpu:test failed.
>> v2 -> v3
>>  - make cgdelete -g cpu:test -g cpu:test1 ok.
>> v3 -> v4
>>  - make cgdelete -g cpuacct:test -g cpu:test -g cpuacct:test failed.
>>  - add some comments
>>  - fix the uninitialized warning
> Hello everythin looks ok, but e.g. combination 
> cgdelete -g cpuacct:test -g cpu:test -g cpu:test
> is ok.
> passes now (cpu is not added to cg,cont_name structures -> passes. This is 
> quite trifle so if you have no time to improve it please ping me and I can do 
> it.
> Ivana
>>

It's very nice of you to  do so! Thanks very much!

Thanks!
Weng Meiling
>> Signed-off-by: Weng Meiling <wengmeiling.w...@huawei.com>
>> ---
>>  src/tools/cgdelete.c | 87
>>  ++++++++++++++++++++++++++++++++++++++++++++++------
>>  1 file changed, 78 insertions(+), 9 deletions(-)
>>





------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to