public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] aio_cancel_3-1: Rewrite test
Date: Mon, 9 Mar 2026 15:27:43 +0100	[thread overview]
Message-ID: <20260309142743.GA26820@pevik> (raw)
In-Reply-To: <20260224162726.28933-1-mdoucha@suse.cz>

Hi Martin,

> The test schedules multiple async writes into a file and then hopes that
> at least one will block long enough that it can be canceled
> before completion. Use a socket pair instead of a file to force async
> writes to block indefinitely and make sure at least one can be canceled.
> Then cancel all requests on the input socket and check that all signals
> have been delivered and the expected number of requests has been canceled.
> This fixes a race condition where aio_cancel() could be delayed until
> after all writes have already completed, making the test unreliable.

Thanks for the fix, merged!
Also thank you for additional error log output and formatting cleanup.

I suppose some of the tests still need to be fixed ([46]-1.c queue a lot of
aio_write()).

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2026-03-09 14:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24 16:27 [LTP] [PATCH] aio_cancel_3-1: Rewrite test Martin Doucha
2026-02-25 15:49 ` Andrea Cervesato via ltp
2026-03-09 14:27 ` Petr Vorel [this message]
2026-03-16 10:33 ` Andrea Cervesato via ltp

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=20260309142743.GA26820@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