Re: [PATCH RESEND] mount: warn only once about timestamp range expiration

From: Christian Kujau
Date: Mon Feb 07 2022 - 17:17:24 EST


> On Wed, Jan 19, 2022 at 09:29:34PM +0100, Anthony Iliopoulos wrote:
> Commit f8b92ba67c5d ("mount: Add mount warning for impending timestamp
> expiry") introduced a mount warning regarding filesystem timestamp
> limits, that is printed upon each writable mount or remount.
>
> This can result in a lot of unnecessary messages in the kernel log in
> setups where filesystems are being frequently remounted (or mounted
> multiple times).
>
> Avoid this by setting a superblock flag which indicates that the warning
> has been emitted at least once for any particular mount, as suggested in

Great! I hope this lands in mainline soon. Applied this to 5.17.0-rc3 here
and it warns on mounts, but not on remounts. Yay!

Tested-by: Christian Kujau <lists@xxxxxxxxxxxxxxx>

Thanks so much for not forgetting about this!
--
BOFH excuse #402:

Secretary sent chain letter to all 5000 employees.