]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: abort the transaction if we fail to update the free space cache inode
authorJosef Bacik <jbacik@fb.com>
Thu, 12 Feb 2015 14:43:51 +0000 (09:43 -0500)
committerChris Mason <clm@fb.com>
Mon, 2 Mar 2015 22:04:44 +0000 (14:04 -0800)
commit586f4a50f611e2fcd12fe189e20cd7183db9581f
tree87e6338c999ef9eb052b1729ae9514cec1460da5
parent9196c3acd275a09908c4a8c9a605b7d54b98cddd
Btrfs: abort the transaction if we fail to update the free space cache inode

Our gluster boxes were hitting a problem where they'd run out of space when
updating the block group cache and therefore wouldn't be able to update the free
space inode.  This is a problem because this is how we invalidate the cache and
protect ourselves from errors further down the stack, so if this fails we have
to abort the transaction so we make sure we don't end up with stale free space
cache.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c