All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sitsofe Wheeler <sitsofe@gmail.com>
To: Samuel Shapiro <samuel.sh79@gmail.com>
Cc: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: during fio scenario with verify=meta some jobs fails
Date: Sat, 11 Apr 2015 07:15:43 +0100	[thread overview]
Message-ID: <CALjAwxhti4K021uqXVAOt53Cr=mbPz0V1Q7q32vPfgW3byAo2g@mail.gmail.com> (raw)
In-Reply-To: <CALjAwxiEv6jd5GuRC2rQsdaiGWZmku_tzS0-qQbQxe_RvVAT=A@mail.gmail.com>

On 11 April 2015 at 07:10, Sitsofe Wheeler <sitsofe@gmail.com> wrote:
> On 11 April 2015 at 04:04, Samuel Shapiro <samuel.sh79@gmail.com> wrote:
>> Well i guess it could be a good test for data integrity, so why not? :)
>>
>> On Fri, Apr 10, 2015 at 9:29 PM, Sitsofe Wheeler <sitsofe@gmail.com> wrote:
>>> On 8 April 2015 at 11:37, Samuel Shapiro <samuel.sh79@gmail.com> wrote:
>>>> Hi All,
>>>>
>>>> [fsx-file-job1]
>>>> directory=/mnt/FIO-some-mountpoint-to-NAS-01
>>>> ioengine=libaio
>>>> iodepth=256
>>>> rw=randrw
>>>> size=256k
>>>> bs=4k
>>>> norandommap
>>>
>>> ^^^ This allows the same block to be overwritten multiple times. Are
>>> you sure this is what you want?
>
> I could be wide of the mark but my concern would be that meta tries to
> verify block number (I guess this doesn't need to be saved and can be
> calculated by just following a sequence). If I've overwritten a block
> how do I verify that the block number of the earlier write was correct
> - the block will in fact contain the block number of the last write to
> it...

Apologies, where I said block number I should have said "io sequence
number" (because you're using verify=meta):

Assuming I only do my verification at the end of a run, if I've
overwritten a block how do I verify that the io sequence number of the
earlier writes to that block were correct? Wouldn't the block will
contain only the io sequence number of the last write to it?

-- 
Sitsofe | http://sucs.org/~sits/

  reply	other threads:[~2015-04-11  6:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 10:37 during fio scenario with verify=meta some jobs fails Samuel Shapiro
2015-04-10 18:29 ` Sitsofe Wheeler
2015-04-11  3:04   ` Samuel Shapiro
2015-04-11  6:10     ` Sitsofe Wheeler
2015-04-11  6:15       ` Sitsofe Wheeler [this message]
     [not found]         ` <CANt18PzSgzy7zVOXuY26iz9gH=tnTLZiKSE=i=pGxAWrxgVq6g@mail.gmail.com>
2015-04-11 22:06           ` Sitsofe Wheeler
2015-04-12 10:12             ` Samuel Shapiro
2015-04-12 10:51               ` Sitsofe Wheeler
2015-04-13  8:21                 ` Samuel Shapiro

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='CALjAwxhti4K021uqXVAOt53Cr=mbPz0V1Q7q32vPfgW3byAo2g@mail.gmail.com' \
    --to=sitsofe@gmail.com \
    --cc=fio@vger.kernel.org \
    --cc=samuel.sh79@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 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.