[LTP] [PATCH v1] Fix synchronization problem with dio tests

Petr Vorel pvorel@suse.cz
Mon Jan 29 18:36:04 CET 2024


> Hi!

> On 1/29/24 16:01, Cyril Hrubis wrote:
> > Hi!
> > > When system is really fast processing I/O syscalls, multiple childrean
> > > running I/O operations might lock the parent, causing
> > > tst_reap_childrean() to stuck. By adding a small usleep at the
> > > end of the reading I/O operations, which are used by dio_append and
> > > dio_read tests, we ensure that system has enough breath to end tests
> > > correctly and to process children exit.
> > This does smell like a kernel bug to be honest.
> I thought the same at first, but I didn't find issues in the kernel. We can
> take a look deeper for sure.
> > Which test is this? How to reproduce?

FYI It's ADI000 => dio_append (without params), which is failing on s39Ox on SLE
15-SP6. It runs pretty quickly on other common archs.

Kind regards,
Petr



More information about the ltp mailing list