Re: [PATCH] dmatest: correct raid6 PQ test

From: Dan Williams
Date: Sun Feb 28 2010 - 22:46:31 EST


On Mon, Feb 15, 2010 at 2:35 PM, Anatolij Gustschin <agust@xxxxxxx> wrote:
> The number of PQ sources specified by module parameter "pq_sources"
> is always forced odd to fit into dmatest's destination verificaton
> scheme. But number of PQ sources and coefficients as passed to the
> driver's prep_dma_pq() is not adjusted accordingly.
>
> Fix it now to get correct PQ testing results in the case passed
> "pq_sources" parameter is even.
>
> Signed-off-by: Anatolij Gustschin <agust@xxxxxxx>
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Cc: Maciej Sosnowski <maciej.sosnowski@xxxxxxxxx>
> ---
>  drivers/dma/dmatest.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Applied... and the same problem for the xor case (I'll fix that up).

--
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/