diff options
author | Josef Bacik <josef@redhat.com> | 2010-12-03 13:17:53 -0500 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2010-12-09 13:57:12 -0500 |
commit | 2b20982e3154266106573beac2a4d4ba57a2789a (patch) | |
tree | 13539703ccb713385b4c7ff7eac508bb8f3b1e18 /fs/stack.c | |
parent | 955256f2c3e25c94ad373c43fbc38d2ac8af2a71 (diff) |
Btrfs: deal with space cache errors better
Currently if the space cache inode generation number doesn't match the
generation number in the space cache header we will just fail to load the space
cache, but we won't mark the space cache as an error, so we'll keep getting that
error each time somebody tries to cache that block group until we actually clear
the thing. Fix this by marking the space cache as having an error so we only
get the message once. This patch also makes it so that we don't try and setup
space cache for a block group that isn't cached, since we won't be able to write
it out anyway. None of these problems are actual problems, they are just
annoying and sub-optimal. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions