]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
block: Add nr_bios to block_rq_remap tracepoint
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Sat, 21 Sep 2013 19:57:47 +0000 (13:57 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 21 Sep 2013 19:57:47 +0000 (13:57 -0600)
commit75afb352991ff1cd3cf5955bfe611de6d83a0c87
tree2873c9fa5c098c4dd5134f395207af9463cc21d9
parent7652113c2f508b1c8176640dcd034730fe79bc48
block: Add nr_bios to block_rq_remap tracepoint

Adding the number of bios in a remapped request to 'block_rq_remap'
tracepoint.

Request remapper clones bios in a request to track the completion
status of each bio. So the number of bios can be useful information
for investigation.

Related discussions:
  http://www.redhat.com/archives/dm-devel/2013-August/msg00084.html
  http://www.redhat.com/archives/dm-devel/2013-September/msg00024.html

Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h
include/trace/events/block.h