]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: deal with free space cache errors while replaying log
authorJosef Bacik <jbacik@fusionio.com>
Thu, 25 Apr 2013 19:55:30 +0000 (15:55 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:55:20 +0000 (15:55 -0400)
commit830980e117829226ab75b05a3846f5e101c0bab8
tree419d87afe4386be50be15fe5cc0cb0b367eeb1ed
parentee31b7f6b0a5282a79fba947c0599854912cb58d
Btrfs: deal with free space cache errors while replaying log

So everybody who got hit by my fsync bug will still continue to hit this
BUG_ON() in the free space cache, which is pretty heavy handed.  So I took a
file system that had this bug and fixed up all the BUG_ON()'s and leaks that
popped up when I tried to mount a broken file system like this.  With this patch
we just fail to mount instead of panicing.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/tree-log.c