All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Grant Grundler <grundler@google.com>
Cc: Juan Casse <jcasse@google.com>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: FIO and Storage Data Integrity testing
Date: Thu, 01 Aug 2013 15:02:48 -0600	[thread overview]
Message-ID: <51FACCF8.2050304@kernel.dk> (raw)
In-Reply-To: <20130801022535.GF24569@kernel.dk>

On 07/31/2013 08:25 PM, Jens Axboe wrote:
>> I want four pieces of data for bread crumbs:
>> o timestamp
> 
> Don't have that, trivial to add.

Just went and looked at what we had for the meta verify. There is
actually already a timestamp there (sec + usec), and there's the notion
of a generation number as well (it includes what number write this was).

The structure looks like this:

struct vhdr_meta
{
        uint64_t offset;
        unsigned char thread;
        unsigned short numberio;
        unsigned long time_sec;
        unsigned long time_usec;
};

Though the 'generation' number might have to be either used differently
that it is now, or made into a different type. The meta verify is also
the only one that isn't already 32 vs 64-bit agnostic.

-- 
Jens Axboe


  reply	other threads:[~2013-08-01 21:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 20:32 FIO and Storage Data Integrity testing Grant Grundler
2013-07-31 21:23 ` Jens Axboe
2013-07-31 22:37   ` Grant Grundler
2013-08-01  2:25     ` Jens Axboe
2013-08-01 21:02       ` Jens Axboe [this message]
2013-08-02 17:15         ` Juan Casse
2013-08-02 21:07         ` Juan Casse
2013-08-02 21:10         ` Juan Casse
2013-08-02 21:21           ` Jens Axboe
2013-08-02 21:18       ` Juan Casse
2013-08-02 21:21       ` Juan Casse
2013-08-02 21:39         ` 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=51FACCF8.2050304@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=grundler@google.com \
    --cc=jcasse@google.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.