btrfs-progs: Introduce wrapper to recover raid56 data
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 25 May 2017 06:21:50 +0000 (14:21 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jul 2017 11:35:11 +0000 (13:35 +0200)
commit05734124f2cf616d94d7f2640351bc0272b1a8d0
tree9afee5fc29273aace6aee1c9f0d4c8781ee602e3
parent008bbd88420390fd83de41baa6b17a7d7d5b92de
btrfs-progs: Introduce wrapper to recover raid56 data

Introduce a wrapper to recover raid56 data.

The logical is the same with kernel one, but with different interfaces,
since kernel ones cares the performance while in btrfs we don't care
that much.

And the interface is more caller friendly inside btrfs-progs.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
kernel-lib/raid56.c
kernel-lib/raid56.h