Re: [PATCH 0/6] blk: introduce generic io stat accounting help function

2014-11-24 Thread Gu Zheng
On 11/24/2014 11:03 PM, Jens Axboe wrote: > On 11/23/2014 08:05 PM, Gu Zheng wrote: >> 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 na

Re: [PATCH 0/6] blk: introduce generic io stat accounting help function

2014-11-24 Thread Jens Axboe
On 11/23/2014 08:05 PM, Gu Zheng wrote: 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