From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH] openposix: Fix aio_suspend/1-1 completion race
Date: Thu, 1 Oct 2026 14:30:15 +0200 [thread overview]
Message-ID: <20261001123015.GA3000799@pevik> (raw)
In-Reply-To: <c455d166-dcb5-41ca-9166-79c74aa2d015@suse.cz>
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-10-01 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 11:00 [LTP] [PATCH] openposix: Fix aio_suspend/1-1 completion race Andrea Cervesato
2026-10-01 12:01 ` Martin Doucha
2026-10-01 12:30 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261001123015.GA3000799@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=mdoucha@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox