]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: fix ptest hang
authorMingli Yu <Mingli.Yu@windriver.com>
Mon, 15 Jul 2019 08:56:18 +0000 (16:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Jul 2019 11:17:18 +0000 (12:17 +0100)
commitb507793f4adde0c60588b06520d7d0b70acfd82a
treebb052697b6a2d6fee24c86635e0ecdd6fcb7e3c2
parent762528a66e5a6e3444f9c13c04ecac7f5bc8efd5
mdadm: fix ptest hang

Before commit[80d17497b7 mdadm: improve the run-ptest],
the mdadm ptest just run some tests without
"--keep-going" option. After the option added in
commit 80d17497b7, all test cases have chance to
be called.

But the logic in mdadm upstream commit
[e2a8e9d tests: wait for complete rebuild in integrity checks]
will make the test enter infinite loop especially in
qemu env as commit e2a8e9d update the logic from
"check wait" to "check state 'U*'" for testcase
tests/01r5integ and tests/01raid6integ. Considering all
other cases still use "check wait" logic, so revert e2a8e9d
to make tests/01r5integ and tests/01raid6integ also use
"check wait" logic to avoid the infinite loop.

[YOCTO #13368]

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/mdadm/files/0001-Revert-tests-wait-for-complete-rebuild-in-integrity-.patch [new file with mode: 0644]
meta/recipes-extended/mdadm/mdadm_4.1.bb