[LTP] [PATCH 1/1] cgroup/cgroup_regression_test: Fix umount failure

Petr Vorel pvorel@suse.cz
Mon Jun 28 10:49:39 CEST 2021


Hi all,

[ changed Cyril's address in Cc to the working one ]

> >   	mkdir cgroup/0
> >   	sleep 100 < cgroup/0 &	# add refcnt to this dir
> >   	rmdir cgroup/0
> > +	sync
> >   	# remount with some subsystems removed
> >   	# since 2.6.28, this remount will fail
> I would like a short comment close to the syncs. When I converted
> cpuset_regression_test.sh, I would have removed the sync in there, if there
> wouldn't have been any comment.
> Most of the time syncs are not required and just added by paranoid
> developers, but if there is a real reason, I think it should be stated in a
> comment.

Agree with this. Are all these sync really needed? Or just some?

Kind regards,
Petr

> Jörg


More information about the ltp mailing list