Skip to content

Commit 3740379

Browse files
Darrick J. Wongdchinner
authored andcommitted
xfs: don't log every time we clear the log incompat flags
There's no need to spam the logs every time we clear the log incompat flags -- if someone is periodically using one of these features, they'll be cleared every time the log tries to clean itself, which can get pretty chatty: $ dmesg | grep -i clear [ 5363.894711] XFS (sdd): Clearing log incompat feature flags. [ 5365.157516] XFS (sdd): Clearing log incompat feature flags. [ 5369.388543] XFS (sdd): Clearing log incompat feature flags. [ 5371.281246] XFS (sdd): Clearing log incompat feature flags. These aren't high value messages either -- nothing's gone wrong, and nobody's trying anything tricky. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
1 parent ab6a8d3 commit 3740379

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/xfs/xfs_mount.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,6 @@ xfs_clear_incompat_log_features(
13561356

13571357
if (xfs_sb_has_incompat_log_feature(&mp->m_sb,
13581358
XFS_SB_FEAT_INCOMPAT_LOG_ALL)) {
1359-
xfs_info(mp, "Clearing log incompat feature flags.");
13601359
xfs_sb_remove_incompat_log_features(&mp->m_sb);
13611360
ret = true;
13621361
}

0 commit comments

Comments
 (0)