Re: [PATCH] btrfs: don't print information about space cache or tree every remount

From: David Sterba
Date: Tue Aug 23 2022 - 16:24:55 EST


On Tue, Aug 23, 2022 at 05:28:20PM +0200, Maciej S. Szmigiero wrote:
> From: "Maciej S. Szmigiero" <maciej.szmigiero@xxxxxxxxxx>
>
> btrfs currently prints information about space cache or free space tree
> being in use on every remount, regardless whether such remount actually
> enabled or disabled one of these features.
>
> This is actually unnecessary since providing remount options changing the
> state of these features will explicitly print the appropriate notice.
>
> Let's instead print such unconditional information just on an initial mount
> to avoid filling the kernel log when, for example, laptop-mode-tools
> remount the fs on some events.
>
> Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@xxxxxxxxxx>

Makes sense, added to misc-next, thanks.