diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-10-01 09:00:19 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:23:12 -0400 |
commit | c64485544baa9ffc5fbedd5661a05bdee1b37598 (patch) | |
tree | 4461ef770a41b3056a0f0763d308d4f6a53e07b6 /ctree.h | |
parent | 2454473dd1647e83d6eba9852eeb08d331e9ea9a (diff) | |
download | btrfs-progs-c64485544baa9ffc5fbedd5661a05bdee1b37598.tar.gz |
Btrfs-progs: keep track of transid failures and fix them if possible
A user was reporting an issue with bad transid errors on his blocks. The thing
is that btrfs-progs will ignore transid failures for things like restore and
fsck so we can do a best effort to fix a users file system. So fsck can put
together a coherent view of the file system with stale blocks. So if everything
else is ok in the mind of fsck then we can recow these blocks to fix the
generation and the user can get their file system back. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -966,6 +966,7 @@ struct btrfs_fs_info { struct btrfs_extent_ops *extent_ops; struct list_head dirty_cowonly_roots; + struct list_head recow_ebs; struct btrfs_fs_devices *fs_devices; struct list_head space_info; |