Btrfs, replace: write raid56 parity into the replace target device
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 14 Nov 2014 09:45:42 +0000 (17:45 +0800)
committerMiao Xie <miaox@cn.fujitsu.com>
Wed, 3 Dec 2014 02:18:46 +0000 (10:18 +0800)
commit7603597690147a16b5cc77047d7570fa22a22673
tree6fc1618acba90230ea06986eee104c962475795a
parent2c8cdd6ee4e7f637b0486c6798117e7859dee586
Btrfs, replace: write raid56 parity into the replace target device

This function reused the code of parity scrub, and we just write
the right parity or corrected parity into the target device before
the parity scrub end.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/raid56.c
fs/btrfs/scrub.c