commit | af8e2d1df9848b39dd86b1e696bf8781d2020a88 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Oct 23 14:42:50 2014 +0800 |
committer | Miao Xie <miaox@cn.fujitsu.com> | Wed Dec 03 10:18:45 2014 +0800 |
tree | 0abf72105056f1c5fe7038c37f4c5d63ea29c875 | |
parent | b89e1b012c7f81123344058d5f245b844464d30c [diff] |
Btrfs, scrub: repair the common data on RAID5/6 if it is corrupted This patch implement the RAID5/6 common data repair function, the implementation is similar to the scrub on the other RAID such as RAID1, the differentia is that we don't read the data from the mirror, we use the data repair function of RAID5/6. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>