xfs: warn about LARP once per mount
authorDarrick J. Wong <djwong@kernel.org>
Fri, 27 May 2022 00:32:07 +0000 (10:32 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 27 May 2022 00:32:07 +0000 (10:32 +1000)
commit202865cc215d135762ea99abda7d87925b1cfc7a
treea8910fb7eb0ed1d5f9f7ff8cb4d84a90f41b029f
parentdf5660cf63bbafb5a1250954b91d9ec26558536f
xfs: warn about LARP once per mount

Since LARP is an experimental debug-only feature, we should try to warn
about it being in use once per mount, not once per reboot.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_mount.h