diff options
Diffstat (limited to 'crypto/async_tx/raid6test.c')
| -rw-r--r-- | crypto/async_tx/raid6test.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/async_tx/raid6test.c b/crypto/async_tx/raid6test.c index 4a92bac744dc..dad95f45b88f 100644 --- a/crypto/async_tx/raid6test.c +++ b/crypto/async_tx/raid6test.c | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | #undef pr | 28 | #undef pr |
| 29 | #define pr(fmt, args...) pr_info("raid6test: " fmt, ##args) | 29 | #define pr(fmt, args...) pr_info("raid6test: " fmt, ##args) |
| 30 | 30 | ||
| 31 | #define NDISKS 16 /* Including P and Q */ | 31 | #define NDISKS 64 /* Including P and Q */ |
| 32 | 32 | ||
| 33 | static struct page *dataptrs[NDISKS]; | 33 | static struct page *dataptrs[NDISKS]; |
| 34 | static addr_conv_t addr_conv[NDISKS]; | 34 | static addr_conv_t addr_conv[NDISKS]; |
| @@ -219,6 +219,14 @@ static int raid6_test(void) | |||
| 219 | err += test(11, &tests); | 219 | err += test(11, &tests); |
| 220 | err += test(12, &tests); | 220 | err += test(12, &tests); |
| 221 | } | 221 | } |
| 222 | |||
| 223 | /* the 24 disk case is special for ioatdma as it is the boudary point | ||
| 224 | * at which it needs to switch from 8-source ops to 16-source | ||
| 225 | * ops for continuation (assumes DMA_HAS_PQ_CONTINUE is not set) | ||
| 226 | */ | ||
| 227 | if (NDISKS > 24) | ||
| 228 | err += test(24, &tests); | ||
| 229 | |||
| 222 | err += test(NDISKS, &tests); | 230 | err += test(NDISKS, &tests); |
| 223 | 231 | ||
| 224 | pr("\n"); | 232 | pr("\n"); |
