projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f06479
)
[PATCH: Change remap format to have mapped-to information on the left of the ->
author
Alan D. Brunelle
<Alan.Brunelle@hp.com>
Fri, 24 Mar 2006 10:06:59 +0000
(11:06 +0100)
committer
Jens Axboe
<axboe@suse.de>
Fri, 24 Mar 2006 10:06:59 +0000
(11:06 +0100)
Pretty self-explanatory, works fine for MD devices. Looking into DM
devices next (I think that _may_ take a kernel change).
blkparse_fmt.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse_fmt.c
b/blkparse_fmt.c
index ceeaaba85fdde8f775528917790f76999297b16b..fe788b5acd968065a9d68e70ca7b402bb3f57bb5 100644
(file)
--- 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;
}