aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2022-06-23 10:57:52 +0300
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:39 +0200
commit6b769dac219d069712a0d1a38bffd59ba2bbc1ca (patch)
tree0a5fc0e78c49be5dd831c0ddb5e76429e3d53190
parentc1867eb33e15b93bca02b7ecde905e3042d90f22 (diff)
btrfs: don't print 'flagging with big metadata' anymore on mount
Added in commit 727011e07cbd ("Btrfs: allow metadata blocks larger than the page size") in 2010 and it's been default for mkfs since 3.12 (2013). The message doesn't really convey any useful information to users. Remove it. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/disk-io.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index e12fd3abd689..b3bfd905c654 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3528,12 +3528,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