From 52ddfa74fe191dd8ec23702be2aac3f76f86e4d3 Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Thu, 28 Nov 2013 13:32:49 +0800 Subject: 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 Signed-off-by: David Sterba Signed-off-by: Chris Mason --- ctree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ctree.h') diff --git a/ctree.h b/ctree.h index 187026cc..6d101848 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, -- cgit v1.2.3