Re: 5.14-rc breaks iotop swap io monitoring.
From: Linus Torvalds
Date: Tue Aug 24 2021 - 19:27:21 EST
On Tue, Aug 24, 2021 at 2:41 PM Dave Jones <davej@xxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Aug 24, 2021 at 09:34:02AM -0700, Linus Torvalds wrote:
> >
> > What happens if you boot with the 'delayacct' kernel parameter.
> >
> > Even if you enable it at run-time, processes that have been started
> > before it was enabled won't actually have the 'tsk->delays'
> > allocation. So I'm not sure how effective the run-time thing is.
>
> Yeah that boot option does make iotop work again.
Ok, so it's that delay allocation thing is it.
I'm inclined to let it be and see if somebody else notices, and how
big of a deal it is.
The 'delayacct' kernel command line is an acceptable workaround if
this is something only a few people will even notice or care about.
I wonder how much people care about some statistics and iotop these days.
I also assume the swap stats still show up in "vmstat" etc, and that
it's just that iotop ended up using fancier interfaces?
Or do I assume wrongly?
Linus