All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Gruenbacher <agruenba@redhat.com>
To: fio@vger.kernel.org
Subject: fio verify and short writes
Date: Tue, 3 Dec 2019 16:23:46 +0100	[thread overview]
Message-ID: <CAHc6FU7ai7HPQA8PP31wkJzz6LYJEn97Z-nJXn=EgvDy0LoBtA@mail.gmail.com> (raw)

Hi,

I've run into a verify issue with fio in xfstest generic/300 [*]:

* The aio-dio-verifier thread in that test case writes 4k buffers and
then reads them back in.
* The filesystem has a block size if 1k.
* The test case is designed to run the filesystem out of space. When
that happens, some writes can end up short before they all fail with
-ENOSPC. (That doesn't seem to happen on ext4 or xfs filesystems with
a 1k block size --- possibly just because the test always runs on a
scratch filesystem --- but it does trigger on gfs2.)
* When the aio-dio-verifier thread reads a short 4k buffer back in,
part of the buffer will be zero-filled, so verification will fail.

This is with a current fio and kernel.

Any thoughts?

Thanks,
Andreas

[*] https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/tests/generic/300



             reply	other threads:[~2019-12-03 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 15:23 Andreas Gruenbacher [this message]
2019-12-19  3:42 ` fio verify and short writes Sitsofe Wheeler

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='CAHc6FU7ai7HPQA8PP31wkJzz6LYJEn97Z-nJXn=EgvDy0LoBtA@mail.gmail.com' \
    --to=agruenba@redhat.com \
    --cc=fio@vger.kernel.org \
    /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.