Re: [PATCH 09/13] iop-adma: P+Q self test

From: Neil Brown
Date: Thu Mar 19 2009 - 20:15:17 EST


On Wednesday March 18, dan.j.williams@xxxxxxxxx wrote:
> Even though the intent is to extend dmatest with P+Q tests there is
> still value in having an always-on sanity check to prevent an
> unintentionally broken driver from registering.
>
> This depends on raid6_pq.ko for verification, the side effect being that
> PQ capable channels will fail to register when raid6 is disabled.
>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> ---
> drivers/dma/iop-adma.c | 182 ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 181 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
> index 0cdb333..2b014b6 100644
> --- a/drivers/dma/iop-adma.c
> +++ b/drivers/dma/iop-adma.c
> @@ -31,6 +31,7 @@
> #include <linux/platform_device.h>
> #include <linux/memory.h>
> #include <linux/ioport.h>
> +#include <linux/raid/raid6.h>

???
<linux/raid/pq.h> Maybe?

NeilBrown
--
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/