* [PATCH] btrfs: fix misleading warning when space cache failed to load
@ 2015-11-27 16:32 Holger Hoffstätte
2015-11-28 6:11 ` Duncan
0 siblings, 1 reply; 2+ messages in thread
From: Holger Hoffstätte @ 2015-11-27 16:32 UTC (permalink / raw)
To: linux-btrfs
When an inconsistent space cache is detected during loading we log a
warning that users frequently mistake as instruction to invalidate the
cache manually, even though this is not required. Fix the message to
indicate that the cache will be rebuilt automatically.
Signed-off-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com>
---
fs/btrfs/free-space-cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 0948d34..7a91770 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -891,7 +891,7 @@ out:
spin_unlock(&block_group->lock);
ret = 0;
- btrfs_warn(fs_info, "failed to load free space cache for block group %llu, rebuild it now",
+ btrfs_warn(fs_info, "failed to load free space cache for block group %llu, rebuilding it now",
block_group->key.objectid);
}
--
2.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: fix misleading warning when space cache failed to load
2015-11-27 16:32 [PATCH] btrfs: fix misleading warning when space cache failed to load Holger Hoffstätte
@ 2015-11-28 6:11 ` Duncan
0 siblings, 0 replies; 2+ messages in thread
From: Duncan @ 2015-11-28 6:11 UTC (permalink / raw)
To: linux-btrfs
Holger Hoffstätte posted on Fri, 27 Nov 2015 17:32:04 +0100 as excerpted:
> When an inconsistent space cache is detected during loading we log a
> warning that users frequently mistake as instruction to invalidate the
> cache manually, even though this is not required. Fix the message to
> indicate that the cache will be rebuilt automatically.
>
> Signed-off-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com>
+1. The message as-is, /is/ confusing, and this fixes it. =:^)
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-28 6:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27 16:32 [PATCH] btrfs: fix misleading warning when space cache failed to load Holger Hoffstätte
2015-11-28 6:11 ` Duncan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox