Messages in this thread | | | From | David Howells <> | Subject | Re: Upcoming: Notifications, FS notifications and fsinfo() | Date | Wed, 01 Apr 2020 14:58:22 +0100 |
| |
David Howells <dhowells@redhat.com> 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
| |