btrfs-progs: raid56: Introduce tables for RAID6 recovery
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 25 May 2017 06:21:47 +0000 (14:21 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jul 2017 11:35:11 +0000 (13:35 +0200)
commit084d1524079ad30bae75c2fdbb7b46e711f46042
tree26b8eaf651879333ed566aee2acbad8c027a0539
parent5e2a2acc9a1ad6ffa597f4dde4342881e8efee12
btrfs-progs: raid56: Introduce tables for RAID6 recovery

Use kernel RAID6 galois tables for later RAID6 recovery.

Galois tables file, kernel-lib/tables.c is generated by user space
program, mktable.

Galois field tables declaration, in kernel-lib/raid56.h, is completely
copied from kernel.

The mktables.c is copied from kernel with minor header/macro
modification, to ensure the generated tables.c works well in
btrfs-progs.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
.gitignore
Makefile
kernel-lib/mktables.c [new file with mode: 0644]
kernel-lib/raid56.h