From: "Luís Henriques" <lhenriques@suse.de>
To: Ming Lei <ming.lei@redhat.com>
Cc: fstests@vger.kernel.org, fio@vger.kernel.org
Subject: Re: generic/095 failing in ext4 and xfs
Date: Mon, 11 Oct 2021 14:41:03 +0100 [thread overview]
Message-ID: <YWQ+7xz9Nw8E8PEq@suse.de> (raw)
In-Reply-To: <YWQcdTCMIFFdDnMh@T590>
On Mon, Oct 11, 2021 at 07:13:57PM +0800, Ming Lei wrote:
> On Mon, Oct 11, 2021 at 11:16:09AM +0100, Luís Henriques wrote:
> > On Mon, Oct 11, 2021 at 05:31:44PM +0800, Ming Lei wrote:
> > > On Mon, Oct 11, 2021 at 10:09:30AM +0100, Luís Henriques wrote:
> > > > On Sun, Oct 10, 2021 at 04:31:25PM +0800, Zorro Lang wrote:
> > > > > On Fri, Oct 01, 2021 at 06:11:49PM +0100, Luis Henriques wrote:
> > > > > > Hi!
> > > > > >
> > > > > > I'm seeing generic/095 failing both with ext4 and xfs (but not on btrfs).
> > > > > > Here's what I'm getting:
> > > > > >
> > > > > > # cat results/generic/095.out.bad
> > > > > > QA output created by 095
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: read offset=51200, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: read offset=133120, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file2: Invalid argument: write offset=92160, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file2: Invalid argument: write offset=158720, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file2: Invalid argument: write offset=513024, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file2: Invalid argument: write offset=33792, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file2: Invalid argument: write offset=449536, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: read offset=45056, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: read offset=30720, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: write offset=222208, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: read offset=342016, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: write offset=177152, buflen=1024
> > > > > > fio: pid=4090, got signal=11
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: write offset=43008, buflen=1024
> > > > > > fio: io_u error on file /tmp/mnt/scratch/file1: Invalid argument: write offset=308224, buflen=1024
> > > > > > fio: pid=4086, got signal=11
> > >
> > > The issue should be from generic/095 test itself, which run dio with bs=1k,
> > > but logical block size is 4k. I guess the test may work after you change
> > > bs to 4k in generic/095.
> >
> > Ah, I see what you mean. Ok, I've used the patch bellow and the test now
> > passes. The patch changes the block size only for the DIO jobs, there are
> > other jobs where bs=1k is still used. Do you think other jobs should be
> > changed as well?
>
> Only DIO job need aligned bs parameter.
Awesome, thanks for confirming.
Cheers,
--
Luís
next prev parent reply other threads:[~2021-10-11 13:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-01 17:11 generic/095 failing in ext4 and xfs Luis Henriques
2021-10-01 20:07 ` Theodore Ts'o
2021-10-01 20:46 ` Jens Axboe
2021-10-01 21:59 ` Theodore Ts'o
2021-10-02 10:16 ` Luis Henriques
2021-10-02 14:59 ` Jens Axboe
2021-10-04 10:08 ` Luis Henriques
2021-10-04 10:15 ` Luis Henriques
2021-10-04 12:17 ` Luis Henriques
2021-10-04 16:18 ` Theodore Ts'o
2021-10-06 13:39 ` Luis Henriques
2021-10-10 8:31 ` Zorro Lang
2021-10-11 9:09 ` Luís Henriques
2021-10-11 9:31 ` Ming Lei
2021-10-11 10:16 ` Luís Henriques
2021-10-11 11:13 ` Ming Lei
2021-10-11 13:41 ` Luís Henriques [this message]
2021-10-11 12:44 ` Theodore Ts'o
2021-10-11 13:41 ` Luís Henriques
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=YWQ+7xz9Nw8E8PEq@suse.de \
--to=lhenriques@suse.de \
--cc=fio@vger.kernel.org \
--cc=fstests@vger.kernel.org \
--cc=ming.lei@redhat.com \
/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