Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Juan Casse <jcasse@chromium.org>
Cc: Grant Grundler <grundler@chromium.org>, fio@vger.kernel.org
Subject: Re: [PATCH 1/2] Adds check for numberio during verify phase.
Date: Tue, 27 Aug 2013 11:02:58 -0600	[thread overview]
Message-ID: <521CDBC2.8050705@kernel.dk> (raw)
In-Reply-To: <1377552162-31741-1-git-send-email-jcasse@chromium.org>

On 08/26/2013 03:22 PM, Juan Casse wrote:
> We check numberio to detect stale blocks.
> 
> Signed-off-by: Juan Casse <jcasse@chromium.org>
> Reviewed-by: Grant Grundler <grundler@chromium.org>
> ---
>  HOWTO            |  7 +++++++
>  init.c           | 33 +++++++++++++++++++++++++++++++++
>  ioengine.h       |  1 +
>  iolog.c          |  1 +
>  iolog.h          |  1 +
>  libfio.c         |  3 ++-
>  options.c        |  9 +++++++++
>  thread_options.h |  2 ++
>  verify.c         | 10 ++++++++--
>  9 files changed, 64 insertions(+), 3 deletions(-)
> 
> diff --git a/HOWTO b/HOWTO
> index 005dac2..14ff8b5 100644
> --- a/HOWTO
> +++ b/HOWTO
> @@ -657,6 +657,13 @@ ioengine=str	Defines how the job issues io to the file. The following
>  				filename, eg ioengine=external:/tmp/foo.o
>  				to load ioengine foo.o in /tmp.
>  
> +data_integrity_check
> +		If this option is given, fio will check the i/o number of
> +		each block read back during the verification phase. Fio
> +		checks numberio to detect stale blocks. Currently, this
> +		option requires synchronous i/o, and equal-sized read and
> +		write blocks. This option requires workloads that write data.

I think this use case is just too narrow. Why does it require sync IO
and equal read/write sizes? Can't you just replay and re-generate and
compare?

-- 
Jens Axboe


  parent reply	other threads:[~2013-08-27 17:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 21:22 [PATCH 1/2] Adds check for numberio during verify phase Juan Casse
2013-08-26 21:22 ` [PATCH 2/2] Adds check for rand_seed " Juan Casse
2013-08-26 22:11   ` Grant Grundler
2013-08-27 17:02     ` Jens Axboe
2013-08-27 17:25       ` Grant Grundler
2013-08-28  7:14     ` Erwan Velu
2013-08-31  4:31       ` Jens Axboe
2013-09-02  8:38         ` Erwan Velu
2013-09-03 22:38           ` Jens Axboe
2013-08-27 17:02 ` Jens Axboe [this message]
2013-08-27 17:22   ` [PATCH 1/2] Adds check for numberio " Grant Grundler
2013-08-27 17:50     ` Juan Casse
2013-08-27 18:44       ` Juan Casse
2013-08-27 20:48       ` Juan Casse
  -- strict thread matches above, loose matches on Subject: below --
2013-09-04  1:10 Juan Casse
2013-09-04  1:14 Juan Casse
2013-09-04  1:15 Juan Casse

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=521CDBC2.8050705@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=grundler@chromium.org \
    --cc=jcasse@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox