aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/mdadm_4.1.bb
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2019-07-15 16:56:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-16 12:17:18 +0100
commitb507793f4adde0c60588b06520d7d0b70acfd82a (patch)
treebb052697b6a2d6fee24c86635e0ecdd6fcb7e3c2 /meta/recipes-extended/mdadm/mdadm_4.1.bb
parent762528a66e5a6e3444f9c13c04ecac7f5bc8efd5 (diff)
downloadopenembedded-core-contrib-b507793f4adde0c60588b06520d7d0b70acfd82a.tar.gz
openembedded-core-contrib-b507793f4adde0c60588b06520d7d0b70acfd82a.tar.bz2
openembedded-core-contrib-b507793f4adde0c60588b06520d7d0b70acfd82a.zip
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>
Diffstat (limited to 'meta/recipes-extended/mdadm/mdadm_4.1.bb')
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb
index 766004fe9d1..5df3f9087b0 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.1.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb
@@ -18,6 +18,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
file://0001-Compute-abs-diff-in-a-standard-compliant-way.patch \
file://0001-fix-gcc-8-format-truncation-warning.patch \
file://debian-no-Werror.patch \
+ file://0001-Revert-tests-wait-for-complete-rebuild-in-integrity-.patch \
file://mdadm.init \
file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch \
"