Btrfs-progs: add -b to btrfsck to look at backup roots
authorJosef Bacik <jbacik@fusionio.com>
Wed, 23 Oct 2013 20:24:03 +0000 (16:24 -0400)
committerChris Mason <chris.mason@fusionio.com>
Thu, 7 Nov 2013 18:29:30 +0000 (13:29 -0500)
commit337f86fea1d06e189f3cf234adba2567a07678bd
treec4fe5f392480000ffbf2419d2ba53568153e304a
parent4fc17596aaa2b03ee38c467585465923d62b1510
Btrfs-progs: add -b to btrfsck to look at backup roots

In some cases the tree root is so hosed we can't get anything useful out of it.
So add the -b option to btrfsck to make us look for the most recent backup tree
root to use for repair.  Then we can hopefully get ourselves into a working
state.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
btrfs-debug-tree.c
cmds-check.c
cmds-restore.c
disk-io.c
disk-io.h