On Thu, Feb 27, 2020 at 6:06 AM Ian Kent [off-list ref] wrote:
At the least the question of "do we need a highly efficient way
to query the superblock parameters all at once" needs to be
extended to include mount table enumeration as well as getting
the info.
But this is just me thinking about mount table handling and the
quite significant problem we now have with user space scanning
the proc mount tables to get this information.
Right.
So the problem is that currently autofs needs to rescan the proc mount
table on every change. The solution to that is to
- add a notification mechanism
- and a way to selectively query mount/superblock information
right?
For the notification we have uevents in sysfs, which also supplies the
changed parameters. Taking aside namespace issues and addressing
mounts would this work for autofs?
Thanks,
Miklos