From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] aio_suspend_4-1: Fix failures on s390x
Date: Tue, 7 Feb 2017 15:35:25 +0100 [thread overview]
Message-ID: <20170207143524.GA2839@rei.lan> (raw)
In-Reply-To: <93175945.2218188.1486050040647.JavaMail.zimbra@redhat.com>
Hi!
> > /* Wait for list processing completion */
> > while (!received_all)
> > - sleep(1);
> > + usleep(50000);
>
> Should we limit this loop by some counter? If something goes wrong,
> this can loop forever.
I've added a 5 minute limit here, which should be more than enough since
the test runs for less than one second.
> Other than nit above, it looks good to me, ACK.
And pushed with your ack.
--
Cyril Hrubis
chrubis@suse.cz
prev parent reply other threads:[~2017-02-07 14:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-02 13:22 [LTP] [PATCH] aio_suspend_4-1: Fix failures on s390x Cyril Hrubis
2017-02-02 15:40 ` Jan Stancek
2017-02-07 14:35 ` Cyril Hrubis [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=20170207143524.GA2839@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/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