path: root/disk-io.c
diff options
authorJosef Bacik <>2013-03-28 10:26:09 -0400
committerDavid Sterba <>2013-04-23 18:56:26 +0200
commit1ed8193d19413dfa12ad069fe3458864e144297c (patch)
treedf81d1189bc544009f5441ae98627aac0d2d5c49 /disk-io.c
parent1997b9dc79829ee50d97a47bd4ec5ec58cc99238 (diff)
Btrfs-progs: add an option to btrfs-image to walk the trees
When working with a user with a broken file system I noticed I wasn't able to read some of the blocks properly from the restored image. This is because his extent tree was corrupt and was missing references to some of the blocks, which means they weren't copied into the image when he generated it. So add a -w option which will walk all of the trees manually and copy them into the image. This way we can run fsck against a complete file system image and fix any bugs in fsck. Thanks, Signed-off-by: Josef Bacik <>
Diffstat (limited to 'disk-io.c')
0 files changed, 0 insertions, 0 deletions