All of lore.kernel.org
 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 v2] ltp-aiodio.part4: Run DIT000 with only 1 reader process
Date: Fri, 6 Jan 2023 10:21:47 +0100	[thread overview]
Message-ID: <Y7foKz4LC8cwdj6c@pevik> (raw)
In-Reply-To: <20230105162929.16047-1-mdoucha@suse.cz>

Hi Martin,

...
> diff --git a/testcases/kernel/io/ltp-aiodio/dio_truncate.c b/testcases/kernel/io/ltp-aiodio/dio_truncate.c
...
> +
> +	if (numchildren > 2 && !tst_kconfig_check(kconf_rt)) {
> +		tst_res(TINFO, "Warning: This test may deadlock on RT kernels");
I hate TWARN exits non-zero, thus we need to have warnings like this
(TWARN would be more visible than TINFO, but it'd always mean non-zero for RT).

I'd wish the message was TWARN on error, but because on RT test timeouts, we
would have to somehow check remaining time to print the warning before timeout.

Let's not complicate things more. Thank you for your work!

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

> +		tst_res(TINFO, "If it does, reduce number of threads to 2");
> +	}
>  }

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

  reply	other threads:[~2023-01-06  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05 16:29 [LTP] [PATCH v2] ltp-aiodio.part4: Run DIT000 with only 1 reader process Martin Doucha
2023-01-06  9:21 ` Petr Vorel [this message]
2023-01-06  9:34 ` Petr Vorel
2023-01-06 10:53   ` Petr Vorel

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=Y7foKz4LC8cwdj6c@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.