Re: [PATCH 1/3] block: don't show disk stats if io accounting is disabled
From: Christoph Hellwig
Date: Fri Mar 25 2022 - 04:47:03 EST
On Thu, Mar 17, 2022 at 07:26:51PM +0800, Yu Kuai wrote:
> If io accounting is disabled, there is no point to handle such device
> in diskstats_show(), and it can be confused for users because all fields
> in iostat are zero while the disk is handling io.
But changing the output will break existing users looking at it.