summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-10-29 19:41:49 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-10-29 19:41:49 +0300
commite5d84970a554d5c0072043a7b9f0f5b88b5fdfe1 (patch)
tree859350aff787a5117b45a1066ab88bf158f97162 /crypto
parentf5e70d0fe3ea990cfb3fc8d7f76a719adcb1e0b5 (diff)
downloadlinux-e5d84970a554d5c0072043a7b9f0f5b88b5fdfe1.tar.xz
async_tx: Move ASYNC_RAID6_TEST option to crypto/async_tx/, fix dependencies
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/async_tx/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/async_tx/Kconfig b/crypto/async_tx/Kconfig
index e5aeb2b79e6f..e24aa80087ad 100644
--- a/crypto/async_tx/Kconfig
+++ b/crypto/async_tx/Kconfig
@@ -22,4 +22,18 @@ config ASYNC_RAID6_RECOV
tristate
select ASYNC_CORE
select ASYNC_PQ
+ select ASYNC_XOR
+
+config ASYNC_RAID6_TEST
+ tristate "Self test for hardware accelerated raid6 recovery"
+ depends on ASYNC_RAID6_RECOV
+ select ASYNC_MEMCPY
+ ---help---
+ This is a one-shot self test that permutes through the
+ recovery of all the possible two disk failure scenarios for a
+ N-disk array. Recovery is performed with the asynchronous
+ raid6 recovery routines, and will optionally use an offload
+ engine if one is available.
+
+ If unsure, say N.