[PATCH] device-mapper disk statistics: timing
authorJun'ichi "Nick" Nomura <j-nomura@ce.jp.nec.com>
Wed, 1 Feb 2006 11:04:53 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:11 +0000 (08:53 -0800)
commit3eaf840e0b0046f56602c524c7ba58a82f5526c5
treede525d358029dd1744aa2570fe8b8f8add5f8dd1
parent12f03a49cf0ab5e8511911142d28699499a572c4
[PATCH] device-mapper disk statistics: timing

Record I/O timing statistics

The start time is added to struct dm_io, an existing structure allocated
privately internally within dm and attached to each incoming bio.

We export disk_round_stats() from block/ll_rw_blk.c instead of creating a
private clone.

Signed-off-by: Jun'ichi "Nick" Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
block/ll_rw_blk.c
drivers/md/dm.c