All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs: remove overly verbose messages
@ 2022-06-23  7:57 Nikolay Borisov
  2022-06-23  9:30 ` Nikolay Borisov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nikolay Borisov @ 2022-06-23  7:57 UTC (permalink / raw)
  To: linux-btrfs; +Cc: 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 <nborisov@suse.com>
---
 fs/btrfs/disk-io.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index c3d92aadc820..8c34d08e3c64 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] btrfs: remove overly verbose messages
  2022-06-23  7:57 [PATCH] btrfs: remove overly verbose messages Nikolay Borisov
@ 2022-06-23  9:30 ` Nikolay Borisov
  2022-06-23  9:54 ` Qu Wenruo
  2022-06-24 16:19 ` David Sterba
  2 siblings, 0 replies; 4+ messages in thread
From: Nikolay Borisov @ 2022-06-23  9:30 UTC (permalink / raw)
  To: linux-btrfs



On 23.06.22 г. 10:57 ч., Nikolay Borisov wrote:
> The message "flagging fs with big metadata" doesn't really convey any
> useful information to users. Simply remove it.
> 
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

Disregard this, I see you've sent a patch changing it to debug level.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] btrfs: remove overly verbose messages
  2022-06-23  7:57 [PATCH] btrfs: remove overly verbose messages Nikolay Borisov
  2022-06-23  9:30 ` Nikolay Borisov
@ 2022-06-23  9:54 ` Qu Wenruo
  2022-06-24 16:19 ` David Sterba
  2 siblings, 0 replies; 4+ messages in thread
From: Qu Wenruo @ 2022-06-23  9:54 UTC (permalink / raw)
  To: Nikolay Borisov, linux-btrfs



On 2022/6/23 15:57, Nikolay Borisov wrote:
> The message "flagging fs with big metadata" doesn't really convey any
> useful information to users. Simply remove it.
>
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

Reviewed-by: Qu Wenruo <wqu@suse.com>

THanks,
Qu
> ---
>   fs/btrfs/disk-io.c | 6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
> index c3d92aadc820..8c34d08e3c64 100644
> --- a/fs/btrfs/disk-io.c
> +++ b/fs/btrfs/disk-io.c
> @@ -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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] btrfs: remove overly verbose messages
  2022-06-23  7:57 [PATCH] btrfs: remove overly verbose messages Nikolay Borisov
  2022-06-23  9:30 ` Nikolay Borisov
  2022-06-23  9:54 ` Qu Wenruo
@ 2022-06-24 16:19 ` David Sterba
  2 siblings, 0 replies; 4+ messages in thread
From: David Sterba @ 2022-06-24 16:19 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: linux-btrfs

On Thu, Jun 23, 2022 at 10:57:52AM +0300, Nikolay Borisov wrote:
> The message "flagging fs with big metadata" doesn't really convey any
> useful information to users. Simply remove it.
> 
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>
> ---

Added to misc-next, with changelog from my patch making it debug level.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-24 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23  7:57 [PATCH] btrfs: remove overly verbose messages Nikolay Borisov
2022-06-23  9:30 ` Nikolay Borisov
2022-06-23  9:54 ` Qu Wenruo
2022-06-24 16:19 ` David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.