Add a tracepoint for block request remapping
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Thu, 1 Oct 2009 19:16:13 +0000 (21:16 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 1 Oct 2009 19:16:13 +0000 (21:16 +0200)
commit1a35e0f6443f4266dad4c569c55c57a9032596fa
tree58380f5d8f3c313fbb9fd0310509a408b38a0399
parentca80650cfbde5b17a5fa957a261c7973f84599a7
Add a tracepoint for block request remapping

Since 2.6.31 now has request-based device-mapper, it's useful to have
a tracepoint for request-remapping as well as bio-remapping.
This patch adds a tracepoint for request-remapping, trace_block_rq_remap().

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Cc: Alasdair G Kergon <agk@redhat.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
include/linux/blktrace_api.h
include/trace/events/block.h
kernel/trace/blktrace.c