summaryrefslogtreecommitdiff
path: root/blktrace_api.h
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2009-04-30 13:10:31 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-05-11 08:43:08 +0200
commit580f7440b93c08266867716dc4b891845f7ad891 (patch)
tree097d72d159d9d338a23d6c8d01bf36da3039e1bc /blktrace_api.h
parentaf90543f47f93782df94a3a56d4f607f4dd6ad4c (diff)
downloadblktrace-580f7440b93c08266867716dc4b891845f7ad891.tar.gz
blktrace-580f7440b93c08266867716dc4b891845f7ad891.tar.bz2
Converted to using the correct remap entries
This follows the kernel changes to the blk_io_trace_remap structure to better align the names of the structure elements with the real intent of "from" and "to" (devices & sectors). See the kernel patches @ http://lkml.org/lkml/2009/4/30/340 http://lkml.org/lkml/2009/4/30/341 (Note: since the ABI order didn't change, old user code will work with the new kernel code & vice versa.) Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'blktrace_api.h')
-rw-r--r--blktrace_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/blktrace_api.h b/blktrace_api.h
index 7218845..ba9ee60 100644
--- a/blktrace_api.h
+++ b/blktrace_api.h
@@ -110,9 +110,9 @@ struct blk_io_trace {
* The remap event
*/
struct blk_io_trace_remap {
- __u32 device;
__u32 device_from;
- __u64 sector;
+ __u32 device_to;
+ __u64 sector_from;
};
/*