[PATCH 0/3] optimizations for io accounting
From: Yu Kuai
Date: Thu Mar 17 2022 - 07:11:56 EST
Yu Kuai (3):
block: don't show disk stats if io accounting is disabled
block: factor out common code for part_stat_show() and
diskstats_show()
block: update nsecs[] in part_stat_show() and diskstats_show()
block/bdev.c | 2 +
block/blk-mq.c | 63 +++++++++++++++-
block/blk-mq.h | 2 +
block/genhd.c | 154 ++++++++++++++++++--------------------
include/linux/blk-mq.h | 2 +
include/linux/blk_types.h | 5 ++
6 files changed, 146 insertions(+), 82 deletions(-)
--
2.31.1