From: Jens Axboe <axboe@kernel.dk>
To: Wallence Lu <wallencelu@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: A bug in combining fsrange and verify
Date: Mon, 27 Jan 2014 12:22:15 -0700 [thread overview]
Message-ID: <20140127192215.GF2782@kernel.dk> (raw)
In-Reply-To: <CAOpYm_W685AkEuFnNZX-m0Jfq+B+crzQv5oEF_Hbvq3XbABhaQ@mail.gmail.com>
On Fri, Jan 24 2014, Wallence Lu wrote:
> Hi,
>
> I've hit a bug in using the combination of bsrange and verify.
> Basically I want to do a random write test with a variable block size,
> and then verify the content after the write. But for some reason, the
> verify phase fails consistently.
>
> Linux distribution:
> Ubuntu 12.04.2 LTS, Linux version 3.5.0-23-generic
> $ fio --version
> fio 1.59
>
> Conf file:
> [global]
> thread=1
> ioengine=libaio
> buffered=0
> direct=1
> runtime=5400
> write_iolog=./w_iolog2
>
> [rand-write]
> bsrange=512-32K
> filename=disk.raw
> iodepth=1280
> size=256M
> verify=meta
> verify_pattern=0x33
> rw=randwrite
>
> The output complains as the following:
> Jobs: 1 (f=1): [V] [50.5% done] [0K/0K/0K /s] [0 /0 /0 iops] [eta
> 01m:40s] verify: bad magic header 0, wanted acca at file
> /home/maohua/test-clone/softwareCache/qemu/iscsi_sdd2/disk.raw offset
> 1179648, length 0
> fio: pid=6118, err=84/file:io_u.c:1477, func=io_u_queued_complete,
> error=Invalid or incomplete multibyte or wide character
>
> rand-write: (groupid=0, jobs=1): err=84 (file:io_u.c:1477,
> func=io_u_queued_complete, error=Invalid or incomplete multibyte or
> wide character): pid=6118: Fri Jan 24 17:40:16 201
Fio 1.59 is ancient. Please try and reproduce on a recent version and
report back what happens.
--
Jens Axboe
next prev parent reply other threads:[~2014-01-27 19:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 2:07 A bug in combining fsrange and verify Wallence Lu
2014-01-27 19:22 ` Jens Axboe [this message]
2014-01-27 20:42 ` Wallence Lu
2014-01-27 22:46 ` Jens Axboe
2014-01-27 23:03 ` Jens Axboe
2014-01-27 23:16 ` Grant Grundler
2014-01-27 23:31 ` Jens Axboe
2014-01-28 0:00 ` Grant Grundler
2014-01-28 17:26 ` Jens Axboe
2014-02-03 22:05 ` Grant Grundler
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=20140127192215.GF2782@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=wallencelu@gmail.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