Re: [PATCH v4 01/20] btrfs-progs: raid56: Introduce raid56 header for later recovery usage

2017-05-31 Thread David Sterba
On Thu, May 25, 2017 at 02:21:46PM +0800, Qu Wenruo wrote: > @@ -0,0 +1,28 @@ > +/* > + * Copyright (C) 2017 Fujitsu. All rights reserved. Please use just plain GPL v2 header in newly created files. The history of who modified what in the given file is stored in git. I can't simply remove the

[PATCH v4 01/20] btrfs-progs: raid56: Introduce raid56 header for later recovery usage

2017-05-25 Thread Qu Wenruo
Introduce a new header, kernel-lib/raid56.h, for later raid56 works. It contains 2 functions, from original btrfs-progs code: void raid6_gen_syndrome(int disks, size_t bytes, void **ptrs); int raid5_gen_result(int nr_devs, size_t stripe_len, int dest, void **data); Will be expanded later and