]> 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)
commit451770acdfc0d6172c3a78917f867e60df77f1c8
tree87e6338c999ef9eb052b1729ae9514cec1460da5
parent7d33f113084b85f920a38047f35397eb4f26247c
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