md/bcache: use generic io stats accounting functions to simplify io stat accounting
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Mon, 24 Nov 2014 03:05:24 +0000 (11:05 +0800)
committerJens Axboe <axboe@fb.com>
Mon, 24 Nov 2014 15:05:12 +0000 (08:05 -0700)
commitaae4933da9488827d341c31b970b2f62ac45a496
treefcf7dd0cc039322493f4dc79a819e35ac0cfb378
parentf74cd637b249dd96445e872813072401ef6e5fa6
md/bcache: 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>
Acked-by: Kent Overstreet <kmo@datera.io>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/request.c