Re: [PATCH 1/3] btrfs-progs: fix missing parity stripe for raid6 in chunk-recover

2014-06-12 Thread Gui Hecheng
On Thu, 2014-06-12 at 07:45 +, Duncan wrote: > Gui Hecheng posted on Thu, 12 Jun 2014 10:24:59 +0800 as excerpted: > > > When deal with the p & q stripes for data profile raid6, chunk-recover > > forgets to insert them into the chunk record. Just insert them back > > freely. > > Also wrap the

Re: [PATCH 1/3] btrfs-progs: fix missing parity stripe for raid6 in chunk-recover

2014-06-12 Thread Duncan
Gui Hecheng posted on Thu, 12 Jun 2014 10:24:59 +0800 as excerpted: > When deal with the p & q stripes for data profile raid6, chunk-recover > forgets to insert them into the chunk record. Just insert them back > freely. > Also wrap the inert procedure into a new function, fill_chunk_up. If there

[PATCH 1/3] btrfs-progs: fix missing parity stripe for raid6 in chunk-recover

2014-06-11 Thread Gui Hecheng
When deal with the p & q stripes for data profile raid6, chunk-recover forgets to insert them into the chunk record. Just insert them back freely. Also wrap the inert procedure into a new function, fill_chunk_up. Signed-off-by: Gui Hecheng --- chunk-recover.c | 30 --