md: use generic io stats accounting functions to simplify io stat accounting
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Mon, 24 Nov 2014 03:05:26 +0000 (11:05 +0800)
committerJens Axboe <axboe@fb.com>
Mon, 24 Nov 2014 15:05:16 +0000 (08:05 -0700)
commit18c0b223cf9901727ef3b02da6711ac930b4e5d4
tree4f1b835c2a1c97dbdfcadc69147e1178d60e6ca8
parent244808543e6e9b46ea1135589877f4d4bd2925c5
md: use generic io stats accounting functions to simplify io stat accounting

Use generic io stats accounting help functions (generic_{start,end}_io_acct)
to simplify io stat accounting.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/dm.c
drivers/md/md.c