path: root/disk-io.c
diff options
authorJosef Bacik <>2013-05-17 09:34:23 -0400
committerChris Mason <>2013-06-19 13:52:34 -0400
commit439ce45e4880c1f741bf4b0681d6c476e43760b2 (patch)
tree0edec57a99f409111a2aaae9d9716aaac69e7bec /disk-io.c
parentf5201efdb0955eb8070021989371a48eeab5d3b2 (diff)
Btrfs-progs: add --init-extent-tree to btrfsck
In some cases the extent tree can just be so gone there is no point in trying to figure out how to put it back together. So add a --init-extent-tree mode which will zero out the extent tree and then re-add extents for all of the blocks we find. This will also undo any balance that was going on at the time of the crash, this is needed because the reloc tree seems to confuse fsck at the moment. With this patch I can put back together a users file system that was completely gone. Thanks, Signed-off-by: Josef Bacik <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'disk-io.c')
0 files changed, 0 insertions, 0 deletions