From: Gu Zheng Date: Mon, 24 Nov 2014 03:05:22 +0000 (+0800) Subject: blk: introduce generic io stat accounting help function X-Git-Tag: omap-for-v3.20/drop-legacy-3517~91^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=394ffa503bc40e32d7f54a9b817264e81ce131b4;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed