[LTP] [PATCH] openposix: Fix aio_suspend/1-1 completion race

Petr Vorel pvorel@suse.cz
Thu Oct 1 14:30:15 CEST 2026


Hi Martin, Andrea,

> Hi,
> removing the check defeats the purpose of the test. The proper fix is to
> block on a full socket instead, but aio_suspend() tests will also need a
> second thread that'll drain the socket while the main thread is suspended.

Martin, thanks to double check this, I also worried it would not be that simple.

And I hoped similar approach you already used for fixing aio_cancel() could be
reused. Thanks for describing a possible solution.

Kind regards,
Petr


More information about the ltp mailing list