linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] btrfs: prefix balance for recover and resume
@ 2018-06-01 15:41 Anand Jain
  0 siblings, 0 replies; only message in thread
From: Anand Jain @ 2018-06-01 15:41 UTC (permalink / raw)
  To: linux-btrfs

No functional changes.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
Hi David,
 Can you please fixup this with
   btrfs: balance: prefix kernel logs
 there were two more places where we could make balance logging
 consistent but it was missed before. Thanks.
 
 fs/btrfs/disk-io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index e93f3e3a76c9..002d20b3ed61 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3078,7 +3078,7 @@ int open_ctree(struct super_block *sb,
 
 	ret = btrfs_recover_balance(fs_info);
 	if (ret) {
-		btrfs_err(fs_info, "failed to recover balance: %d", ret);
+		btrfs_err(fs_info, "balance: failed to recover: %d", ret);
 		goto fail_block_groups;
 	}
 
@@ -3263,7 +3263,7 @@ int open_ctree(struct super_block *sb,
 
 	ret = btrfs_resume_balance_async(fs_info);
 	if (ret) {
-		btrfs_warn(fs_info, "failed to resume balance: %d", ret);
+		btrfs_warn(fs_info, "balance: failed to resume: %d", ret);
 		close_ctree(fs_info);
 		return ret;
 	}
-- 
2.7.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-01 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01 15:41 [PATCH 1/1] btrfs: prefix balance for recover and resume Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).