Re: Upcoming: Notifications, FS notifications and fsinfo()

From: David Howells
Date: Wed Apr 01 2020 - 09:58:35 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> > Attached patch applies against readfile patch.
>
> But doesn't actually do what Karel asked for. show_mountinfo() itself does
> not give you what Karel asked for. Plus there's more information you need to
> add to it.

And arguably, it's worse than just reading /proc/mounts. If you get a
notification that something changed (ie. you poll /proc/mounts or mount
notifications gives you an overrun) you now have to read *every*
/mountfs/*/info file. That is way more expensive.

David