block/rsxx: use generic io stats accounting functions to simplify io stat accounting
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Mon, 24 Nov 2014 03:05:27 +0000 (11:05 +0800)
committerJens Axboe <axboe@fb.com>
Mon, 24 Nov 2014 15:05:18 +0000 (08:05 -0700)
commitfa573f72790c2c2b9bfd758c5d33959af4a39915
tree59faf0413e2b2cd7dfaaccdbcad4047526fe78e3
parent18c0b223cf9901727ef3b02da6711ac930b4e5d4
block/rsxx: 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/block/rsxx/dev.c