btrfs: remove overly verbose messages
PATCH 1/1 btrfs: remove overly verbose messages
The message "flagging fs with big metadata" doesn't really convey any useful information to users. Simply remove it.
Signed-off-by Nikolay Borisov <[email protected]>
--- fs/btrfs/disk-io.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
fs/btrfs/disk-io.c +1 -5
@@ -3508,12 +3508,8 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device* Flag our filesystem as having big metadata blocks if they are bigger * than the page size. */ -if (btrfs_super_nodesize (disk_super) >PAGE_SIZE ) { -if (!(features &BTRFS_FEATURE_INCOMPAT_BIG_METADATA )) -btrfs_info (fs_info, -"flagging fs with big metadata feature" ); +if (btrfs_super_nodesize (disk_super) >PAGE_SIZE ) features |=BTRFS_FEATURE_INCOMPAT_BIG_METADATA ; - }/* * mixed block groups end up with duplicate but slightly offset
Signature · 1 line
2.25.1
Quoted 4 lines · Nikolay Borisov
The message "flagging fs with big metadata" doesn't really convey any useful information to users. Simply remove it.
Signed-off-by Nikolay Borisov <[email protected]>
Disregard this, I see you've sent a patch changing it to debug level.
Quoted 4 lines · Nikolay Borisov
The message "flagging fs with big metadata" doesn't really convey any useful information to users. Simply remove it.
Signed-off-by Nikolay Borisov <[email protected]>
Reviewed-by Qu Wenruo <[email protected]>
THanks,
Qu
Quoted 22 lines
--- fs/btrfs/disk-io.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)fs/btrfs/disk-io.c +1
-5@@ -3508,12 +3508,8 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device* Flag our filesystem as having big metadata blocks if they are bigger * than the page size. */ -if (btrfs_super_nodesize (disk_super) >PAGE_SIZE ) { -if (!(features &BTRFS_FEATURE_INCOMPAT_BIG_METADATA )) -btrfs_info (fs_info, -"flagging fs with big metadata feature" ); +if (btrfs_super_nodesize (disk_super) >PAGE_SIZE ) features |=BTRFS_FEATURE_INCOMPAT_BIG_METADATA ; - }/* * mixed block groups end up with duplicate but slightly offset
Quoted 5 lines · Nikolay Borisov
The message "flagging fs with big metadata" doesn't really convey any useful information to users. Simply remove it.
Signed-off-by Nikolay Borisov <[email protected]>---
Added to misc-next, with changelog from my patch making it debug level.