Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroup_fj_common.sh: Do not disable systemd related cgroup subsystems
The cpu, io, memory, and pids subsystems under the root cgroup cannot be disabled because they are used for systemd. Currently, the test of cpu and memory subsystems in cgroup_fj_function.sh and cgroup_fj_stress.sh will report on same systems (Fedora 37, Debian trixie) an error: echo: write error: Device or resource busy cgroup_fj_function 10 TWARN: echo -cpu > /sys/fs/cgroup/cgroup.subtree_control failed Link: https://lore.kernel.org/ltp/20240809073010.793324-1-maxj.fnst@fujitsu.com/ Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
- Loading branch information