diff options
author | Josef Bacik <jbacik@fb.com> | 2015-02-12 09:43:51 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-03-02 14:04:44 -0800 |
commit | 0c0ef4bc842ba6b593bb94f9fb8b653fe18c5ed8 (patch) | |
tree | 87e6338c999ef9eb052b1729ae9514cec1460da5 /fs/btrfs/file.c | |
parent | 4d884fceaa2c838abb598778813e93f6d9fea723 (diff) | |
download | op-kernel-dev-0c0ef4bc842ba6b593bb94f9fb8b653fe18c5ed8.zip op-kernel-dev-0c0ef4bc842ba6b593bb94f9fb8b653fe18c5ed8.tar.gz |
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>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions