From: Paul P Komkoff Jr Date: Thu, 26 Jul 2007 20:16:39 +0000 Subject: Re: Blkparse weirdness with "A" (remap) action Message-Id: <20070726201639.GO32546@stingr.net> List-Id: References: <20070726193952.GN32546@stingr.net> In-Reply-To: <20070726193952.GN32546@stingr.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-btrace@vger.kernel.org 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; }; Correct? -- Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key This message represents the official view of the voices in my head