[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220317112653.1019490-1-yukuai3@huawei.com>
Date: Thu, 17 Mar 2022 19:26:50 +0800
From: Yu Kuai <yukuai3@...wei.com>
To: <axboe@...nel.dk>, <mpatocka@...hat.com>, <snitzer@...hat.com>
CC: <linux-block@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<yukuai3@...wei.com>, <yi.zhang@...wei.com>
Subject: [PATCH 0/3] optimizations for io accounting
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
Powered by blists - more mailing lists