]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3da5debab649a45088dff647d32cc31f34a6ca56
tree6fc1618acba90230ea06986eee104c962475795a
parent8f04026f489cbaac9039c1d02ada65778858697e
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