On 03/30/2017 10:25 AM, Tomasz Majchrzak wrote:
Array size is rounded to the nearest MB, however number of data stripes and blocks per disk are calculated using size passed by the user. If given size is not aligned, there is a mismatch. It's not possible to assemble raid0 migrated to raid5 since raid5 arrays use number of data stripes to calculate array size. Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> --- super-intel.c | 52 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 18 deletions(-)
Applied! Thanks, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html