summaryrefslogtreecommitdiff
path: root/block/blk-mq-cpumap.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-11-24 11:05:22 +0800
committerJens Axboe <axboe@fb.com>2014-11-24 08:04:44 -0700
commit394ffa503bc40e32d7f54a9b817264e81ce131b4 (patch)
tree551aa110ea3ef7519d7a5ea444ac9c9640de4234 /block/blk-mq-cpumap.c
parentb657d7e632e0bc40e5e231332be39d69b2f1a0bb (diff)
blk: introduce generic io stat accounting help function
Many block drivers accounting io stat based on bio (e.g. NVMe...), the blk_account_io_start/end() which is based on request does not make sense to them, so here we introduce the similar help function named generic_start/end_io_acct base on raw sectors, and it can simplify some driver's open io accounting code. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions