path: root/extent_io.c
diff options
authorJosef Bacik <>2014-10-01 10:34:51 -0400
committerDavid Sterba <>2014-10-10 10:38:34 +0200
commit9ecbbe30ec29bc6d75cf4785081a20b8beeb6ba5 (patch)
tree4415fafbc5aa403c1a6bfa7ace3ef95cc369bb71 /extent_io.c
parent3638e1080051804220db05cdd24ccc50bd8e46c0 (diff)
btrfs-progs: rebuild the crc tree with --init-csum-tree
We have --init-csum-tree, which just empties the csum tree. I'm not sure why we would ever need this, but we definitely need to be able to rebuild the csum tree in some cases. This patch adds the ability to completely rebuild the crc tree by reading all of the data and adding csum entries for them. This patch doesn't pay attention to NODATASUM inodes, it'll happily add csums for everything. Thanks, Signed-off-by: Josef Bacik <> Signed-off-by: David Sterba <>
Diffstat (limited to 'extent_io.c')
0 files changed, 0 insertions, 0 deletions