Skip to content
Snippets Groups Projects
Commit e02a0e47 authored by Dan Williams's avatar Dan Williams
Browse files

async_tx: expand async raid6 test to cover ioatdma corner case


Add explicit 11 and 12 disks cases to exercise the 0 < src_cnt % 8 < 3
corner case in the ioatdma driver.

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent cd78809f
No related branches found
No related tags found
No related merge requests found
...@@ -214,6 +214,13 @@ static int raid6_test(void) ...@@ -214,6 +214,13 @@ static int raid6_test(void)
err += test(4, &tests); err += test(4, &tests);
if (NDISKS > 5) if (NDISKS > 5)
err += test(5, &tests); 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); err += test(NDISKS, &tests);
pr("\n"); pr("\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment