summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-07-03 21:25:20 +0800
committerChris Mason <chris.mason@fusionio.com>2013-07-03 14:06:55 -0400
commitf5ddbddf181cdf3085db60a30744b13932b9beea (patch)
treefc85c97d956469a1ec71969ce901d16d5ced1173 /volumes.c
parent3b9e6dd4379ed8f2fb50bee8dce4245038498211 (diff)
Btrfs-progs: recover raid0/raid10/raid5/raid6 metadata chunk
According to the bytenr of the extent buffer record, we can calculate the index of the stripes, and we also know which device and where we read out the extent buffer record, that means we can know the relationship between the device extent and the stripes in the chunk, by this relationship, we can recover the raid0/radi10/ raid5/raid6 metadata chunk. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'volumes.c')
0 files changed, 0 insertions, 0 deletions