Fix remap handling by blktrace
authorAlan D. Brunelle <Alan.Brunelle@hp.com>
Tue, 7 Aug 2007 13:30:23 +0000 (15:30 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 11 Aug 2007 20:34:48 +0000 (22:34 +0200)
commitc7149d6bce2561aeaa48caaa1700aa8b3b22008f
treecfaeda02f5bb62ccf290369b5bd3a5d3f3801cf9
parentec05b297f91a443aa26b74059b573bfad49c9ebb
Fix remap handling by blktrace

This patch provides more information concerning REMAP operations on block
IOs. The additional information provides clearer details at the user level,
and supports post-processing analysis in btt.

o  Adds in partition remaps on the same device.
o  Fixed up the remap information in DM to be in the right order
o  Sent up mapped-from and mapped-to device information

Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c
drivers/md/dm.c
include/linux/blktrace_api.h