projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd78809
)
async_tx: expand async raid6 test to cover ioatdma corner case
author
Dan Williams
<dan.j.williams@intel.com>
Thu, 17 Dec 2009 20:55:38 +0000
(13:55 -0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Thu, 17 Dec 2009 20:55:38 +0000
(13:55 -0700)
Add explicit 11 and 12 disks cases to exercise the 0 < src_cnt % 8 < 3
corner case in the ioatdma driver.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/raid6test.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/async_tx/raid6test.c
b/crypto/async_tx/raid6test.c
index 3ec27c7e62eaff1d541a08b06154d8b197988620..f84f6b4301d98df03dd02c05db9d4351885bc39e 100644
(file)
--- a/
crypto/async_tx/raid6test.c
+++ b/
crypto/async_tx/raid6test.c
@@
-214,6
+214,13
@@
static int raid6_test(void)
err += test(4, &tests);
if (NDISKS > 5)
err += test(5, &tests);
+ /* the 11 and 12 disk cases are special for ioatdma (p-disabled
+ * q-continuation without extended descriptor)
+ */
+ if (NDISKS > 12) {
+ err += test(11, &tests);
+ err += test(12, &tests);
+ }
err += test(NDISKS, &tests);
pr("\n");