From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: "Petr Vorel" <pvorel@suse.cz>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH] dio_read: fix infinite loop when readsize >= filesize
Date: Tue, 24 Mar 2026 09:08:12 +0000 [thread overview]
Message-ID: <69c2547e.df0a0220.3512dd.98fb@mx.google.com> (raw)
In-Reply-To: <20260324082047.GA36627@pevik>
Hi Petr,
> As a fix for indefinite loop LGTM. But why it happen readsize >= filesize? These
> are related to -r and -s values, but we always use -r 512k -w 512k -s 32M.
> I wonder why this happen only on s390x? (I'd expect ppc64le which has different
> page size.
>
> Also that means that pread() is skipped when this happen.
I was trying to fix this sporadic failure on s390x and I discovered this bug
in the test so I send a patch. As you said, the DOR000 might still fail.
What happens at the moment is that children seem to stuck. This fix should
reduce the amount of messages and debug it a bit better. Let's see..
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-03-24 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 8:08 [LTP] [PATCH] dio_read: fix infinite loop when readsize >= filesize Andrea Cervesato
2026-03-24 8:20 ` Petr Vorel
2026-03-24 9:08 ` Andrea Cervesato via ltp [this message]
2026-03-24 13:09 ` Andrea Cervesato via ltp
2026-03-24 13:21 ` Cyril Hrubis
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=69c2547e.df0a0220.3512dd.98fb@mx.google.com \
--to=ltp@lists.linux.it \
--cc=andrea.cervesato@suse.com \
--cc=pvorel@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