]> git.baikalelectronics.ru Git - kernel.git/commit
md: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acct
authorSong Liu <songliubraving@fb.com>
Mon, 31 Aug 2020 22:27:24 +0000 (15:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Sep 2020 22:41:30 +0000 (16:41 -0600)
commitd64f0a340b8a7e9d9ba4ea615d9823543a2c116d
treefab99871087b6e470e6980a74c0e59ac89b51fed
parent84c2de4aee1ff51d813938bd5f3e679cfbf85e85
md: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acct

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

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