btrfs: fix misleading warning when space cache failed to load
PATCH 1/1 btrfs: fix misleading warning when space cache failed to load
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 <[email protected]>
--- fs/btrfs/free-space-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/free-space-cache.c +1 -1
@@ -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); }
Signature · 5 lines
2.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-
Holger Hoffstätte posted on Fri, 27 Nov 2015 17:32:04 +0100 as excerpted:
Quoted 6 lines
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 <[email protected]>
+1. The message as-is, /is/ confusing, and this fixes it. =:^)
Signature · 3 lines
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