[LTP] [PATCH] cgroup_fj/cgroup_fj_stress.sh: Fix failures on cgroup unmounted case

Cedric Hnyda chnyda@suse.com
Mon Dec 14 11:07:20 CET 2015


Hi!

On 12/14/2015 08:57 AM, Guangwen Feng wrote:
> Test fails when cgroup subsystem is not mounted beforehand because of
> the misused "mounted" in setup(), which doesn't represent the current
> mount status exactly but the mount status before the test, so fix this.

Thank you, you are right.
In previous kernel versions, it was possible to mount cgroups several times.
So actually the best solution would be to remove the option to mount them
several times.
I will send a patch to correct this.

Best,
Cedric

-- 
Cedric Hnyda



More information about the Ltp mailing list