Re: [PATCH 00/17] VFS: Filesystem information and notifications [ver #17]

From: David Howells
Date: Fri Feb 28 2020 - 11:42:40 EST


Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> children/$CHILD_ID -> ../../$CHILD_ID

This would really suck. This bit would particularly affect rescanning time.

You also really want to read the entire child set atomically and, ideally,
include notification counters.

> supers/$SUPER_ID/
> type: fstype
> source: mount source (devname)
> options: csv of mount options

There's a lot more to fsinfo() than just this lot - and there's the
possibility that some of the values may change depending on exactly which file
you're looking at.

David