From e9f883ca480064f5a7c18b4a9145b6afb1da6de2 Mon Sep 17 00:00:00 2001 From: "Alan D. Brunelle" Date: Fri, 24 Mar 2006 11:06:59 +0100 Subject: [PATCH] [PATCH: Change remap format to have mapped-to information on the left of the -> Pretty self-explanatory, works fine for MD devices. Looking into DM devices next (I think that _may_ take a kernel change). --- blkparse_fmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blkparse_fmt.c b/blkparse_fmt.c index ceeaaba..fe788b5 100644 --- a/blkparse_fmt.c +++ b/blkparse_fmt.c @@ -338,9 +338,9 @@ static void process_default(char *act, struct per_cpu_info *pci, get_pdu_remap(t, &r); fprintf(ofp, "%llu + %u <- (%d,%d) %llu\n", - (unsigned long long) r.sector, t_sec(t), + (unsigned long long) t->sector, t_sec(t), MAJOR(r.device), MINOR(r.device), - (unsigned long long) t->sector); + (unsigned long long) r.sector); break; } -- 2.25.1