Btrfs-progs: keep track of transid failures and fix them if possible
authorJosef Bacik <jbacik@fusionio.com>
Tue, 1 Oct 2013 13:00:19 +0000 (09:00 -0400)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:23:12 +0000 (08:23 -0400)
commitc64485544baa9ffc5fbedd5661a05bdee1b37598
tree4461ef770a41b3056a0f0763d308d4f6a53e07b6
parent2454473dd1647e83d6eba9852eeb08d331e9ea9a
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>
cmds-check.c
ctree.c
ctree.h
disk-io.c
extent_io.c
extent_io.h