lkml.org 
[lkml]   [2020]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Upcoming: Notifications, FS notifications and fsinfo()
Date
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

\
 
 \ /
  Last update: 2020-04-01 15:58    [W:0.146 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site