From: Jens Axboe <jens.axboe@oracle.com>
To: linux-btrace@vger.kernel.org
Subject: Re: Blkparse weirdness with "A" (remap) action
Date: Fri, 27 Jul 2007 06:20:06 +0000 [thread overview]
Message-ID: <20070727062006.GC32258@kernel.dk> (raw)
In-Reply-To: <20070726193952.GN32546@stingr.net>
On Fri, Jul 27 2007, Paul P Komkoff Jr wrote:
> Replying to Paul P Komkoff Jr:
> > I'm having a little problem here. I have a setup with md over some
> > disks, and I'm running blktrace /dev/md? /dev/sd?, then doing blkparse
> > *.blktrace.*, I'm getting this kind of stuff:
> >
> > 40,131071 1 67 3.043450168 420 A W 4274944 + 8 <- (253,0) 4275328
> > 40,131071 1 67 3.043450168 420 A W 4274944 + 8 <- (253,0) 4275328
>
> Replying to my own message.
> I assume this is because we have this in kernel:
>
> /*
> * The remap event
> */
> struct blk_io_trace_remap {
> __be32 device;
> u32 __pad;
> __be64 sector;
> };
>
> but this in blktrace:
>
> /*
> * The remap event
> */
> struct blk_io_trace_remap {
> __u32 device;
> __u32 device_from;
> __u64 sector;
> };
I think Alan had a patch for filling in that missing device_from value,
currently it's not used in the kernel (as you spotted). Alan?
--
Jens Axboe
next prev parent reply other threads:[~2007-07-27 6:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 19:39 Blkparse weirdness with "A" (remap) action Paul P Komkoff Jr
2007-07-26 20:16 ` Paul P Komkoff Jr
2007-07-27 6:20 ` Jens Axboe [this message]
2007-08-06 14:14 ` Alan D. Brunelle
2007-08-06 14:36 ` Alan D. Brunelle
2007-08-07 8:22 ` Jens Axboe
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=20070727062006.GC32258@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=linux-btrace@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).