bcache: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acct
authorSong Liu <songliubraving@fb.com>
Mon, 31 Aug 2020 22:27:25 +0000 (15:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Sep 2020 22:41:30 +0000 (16:41 -0600)
commit0806e60f31ec10822cd230d12603169d1bb7840e
treeee86e4839fcb81c88ffc48a468462cb3a2a99c68
parent00fe60eae94efa5629bb6caf3839045cb22017e0
bcache: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acct

This enables proper statistics in /proc/diskstats for bcache partitions.

Signed-off-by: Song Liu <songliubraving@fb.com>
Reviewed-by: Coly Li <colyli@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/request.c