Commit 94356889 authored by Holger Hoffstätte's avatar Holger Hoffstätte Committed by Filipe Manana

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: default avatarHolger Hoffstätte <holger.hoffstaette@googlemail.com>
Acked-by: default avatarFilipe Manana <fdmanana@suse.com>
parent 8a7d656f
...@@ -891,7 +891,7 @@ int load_free_space_cache(struct btrfs_fs_info *fs_info, ...@@ -891,7 +891,7 @@ int load_free_space_cache(struct btrfs_fs_info *fs_info,
spin_unlock(&block_group->lock); spin_unlock(&block_group->lock);
ret = 0; 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); block_group->key.objectid);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment