I did send these patches a long while ago, but due to some reasons, they were not merged, these are important fixes for fsck, without these patches, extent tree rebuilding did not work with snapshots.
Also, /tests/fsck-tests.sh's extent tree rebuild test could always detect failure without these patches, unluckily, it need extra enviroment setting, so i supposed it was always 'NOTRUN'! last patch fix a regression for root rebuilding, root rebuilding should be at first, because if root(extent root eg) corrupted, root items also won't succeed. patches are based on David's integration-20141125 Wang Shilong (3): Btrfs-progs: fsck: deal with snapshot one by one when rebuilding extent tree Btrfs-progs: fsck: add ability to rebuild extent tree with snapshots Btrfs-progs, fsck: move root items repair after root rebuilding cmds-check.c | 412 +++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 303 insertions(+), 109 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html