[PATCH v3] raid6: fix the input of raid6 algorithm

2016-08-30 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose the best algorithm for raid6, disks number and disks data must be offered. These input depend on page size and gfmul table at current time. It would cause the disk number less than 4 when the page size is more than 64KB.This patch

[PATCH v3] raid6: fix the input of raid6 algorithm

2016-08-30 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose the best algorithm for raid6, disks number and disks data must be offered. These input depend on page size and gfmul table at current time. It would cause the disk number less than 4 when the page size is more than 64KB.This patch would support arbitrarily

[PATCH v2] raid6: fix the input of raid6 algorithm

2016-08-28 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose the best algorithm for raid6, disks number and disks data must be offered. These input depend on page size and gfmul table at current time. It would cause the disk number less than 4 when the page size is more than 64KB.This patch

[PATCH v2] raid6: fix the input of raid6 algorithm

2016-08-28 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose the best algorithm for raid6, disks number and disks data must be offered. These input depend on page size and gfmul table at current time. It would cause the disk number less than 4 when the page size is more than 64KB.This patch would support arbitrarily

Re: [PATCH] raid6: fix the input of raid6 algorithm

2016-08-24 Thread liuzhengyuan
or.com>; Date: Tue, Aug 23, 2016 11:53 AM To: "liuzhengyuan"<liuzhengy...@kylinos.cn>; Cc: "shli"<s...@kernel.org>; "linux-raid"<linux-r...@vger.kernel.org>; "fenghua.yu"<fenghua...@intel.com>; "linux-kernel"<linux-

Re: [PATCH] raid6: fix the input of raid6 algorithm

2016-08-24 Thread liuzhengyuan
Date: Tue, Aug 23, 2016 11:53 AM To: "liuzhengyuan"; Cc: "shli"; "linux-raid"; "fenghua.yu"; "linux-kernel"; "liuzhengyuang521"; Subject: Re: [PATCH] raid6: fix the input of raid6 algorithm Do you have any idea how long this takes to run? Pe

[PATCH] raid6: fix the input of raid6 algorithm

2016-08-22 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose an best algorithm for raid6, disk number and disk data must be offered. Those input depend on page size and gfmul table at current time. It would lead the disk number less than 4 when the page size is more than 64KB.This patch would

[PATCH] raid6: fix the input of raid6 algorithm

2016-08-22 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose an best algorithm for raid6, disk number and disk data must be offered. Those input depend on page size and gfmul table at current time. It would lead the disk number less than 4 when the page size is more than 64KB.This patch would support arbitrarily page

Re: [PATCH] raid5: fix incorrectly counter of conf->empty_inactive_list_nr

2016-08-02 Thread liuzhengyuan
Thanks for you replay. I think it may be on the temp inactive list. An active sh was handled and put to temp inactive list firstly, then moved to inactive list. If sh is on the temp inactive list, sh->count is zero too. -- Original -- From:

Re: [PATCH] raid5: fix incorrectly counter of conf->empty_inactive_list_nr

2016-08-02 Thread liuzhengyuan
Thanks for you replay. I think it may be on the temp inactive list. An active sh was handled and put to temp inactive list firstly, then moved to inactive list. If sh is on the temp inactive list, sh->count is zero too. -- Original -- From: "NeilBrown"; Date: