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

From: Lennart Poettering
Date: Wed Apr 01 2020 - 10:41:14 EST


On Di, 31.03.20 22:52, David Howells (dhowells@xxxxxxxxxx) wrote:

> Christian Brauner <christian.brauner@xxxxxxxxxx> wrote:
>
> > querying all properties of a mount atomically all-at-once,
>
> I don't actually offer that, per se.
>
> Having an atomic all-at-once query for a single mount is actually quite a
> burden on the system. There's potentially a lot of state involved, much of
> which you don't necessarily need.

Hmm, do it like with statx() and specify a mask for the fields userspace
wants? Then it would be as lightweight as it possibly could be?

Lennart

--
Lennart Poettering, Berlin