[LTP] [PATCH v1] Fix synchronization problem with dio tests
Petr Vorel
pvorel@suse.cz
Mon Jan 29 11:32:27 CET 2024
Hi Andrea,
> 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.
Thanks for fixing this! Test already does some usleep(100).
For a record, this triggered a failure on s39Ox on SLE 15-SP6.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list