path: root/cmds-subvolume.c
diff options
authorQu Wenruo <>2013-06-07 10:25:59 +0800
committerDavid Sterba <>2013-08-09 14:32:35 +0200
commitc118c21b3e855c37c01db4be5746055629b70a19 (patch)
treee278b0bb2681163c20df3d32f30170a8d2e2dadc /cmds-subvolume.c
parent936d520a4818c8cc3b969e0065e3242cb8ed0b1b (diff)
btrfs-progs: Add chunk corrupt funtion to btrfs-corrupt-block
Add chunk corrupt function to btrfs-corrupt-block. This funtion can be used to delete or corrupt a given chunk or the whole chunk tree. This funtion is useful to test the coming chunk recover funtion. BTW, since the chunk recover funtion is based on whole partion scanning, so the COW should be disabled and edit leaf without changing generation. Which makes btrfs_commit_transation giving some ignorable warning. Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'cmds-subvolume.c')
0 files changed, 0 insertions, 0 deletions