summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2013-11-28 13:32:49 +0800
committerChris Mason <clm@fb.com>2014-01-31 08:22:07 -0800
commit52ddfa74fe191dd8ec23702be2aac3f76f86e4d3 (patch)
tree9e3b0873ed3ce0abe5b6143daf3d2ce215960dcb /ctree.h
parent387d5f32347e426214389e0251a1240e076d250d (diff)
downloadbtrfs-progs-52ddfa74fe191dd8ec23702be2aac3f76f86e4d3.tar.gz
Btrfs-progs: chunk-recover: add new flag to prepare recovering for ordered data chunk
When reading block groups we will searching it's corresponding chunk, however, at this time, some chunks has not been built(data chunks raid0/raid10/raid56), don't bug_on here, we will try to rebuild these chunks later. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 187026c..6d10184 100644
--- a/ctree.h
+++ b/ctree.h
@@ -973,6 +973,7 @@ struct btrfs_fs_info {
int system_allocs;
int readonly;
int on_restoring;
+ int is_chunk_recover;
int (*free_extent_hook)(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
u64 bytenr, u64 num_bytes, u64 parent,