Re: [PATCH 10/18] fsinfo: Provide notification overrun handling support [ver #21]

From: Miklos Szeredi
Date: Wed Aug 05 2020 - 03:46:09 EST


On Wed, Aug 5, 2020 at 4:46 AM Ian Kent <raven@xxxxxxxxxx> wrote:
>

> Coming back to an actual use case.
>
> What I said above is one aspect but, since I'm looking at this right
> now with systemd, and I do have the legacy code to fall back to, the
> "just reset everything" suggestion does make sense.
>
> But I'm struggling to see how I can identify notification buffer
> overrun in libmount, and overrun is just one possibility for lost
> notifications, so I like the idea that, as a library user, I can
> work out that I need to take action based on what I have in the
> notifications themselves.

Hmm, what's the other possibility for lost notifications?

Thanks,
Miklos