[PATCH] Don't wait for mdraid to become clean on s390 (#528380)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For some reason "mdadm --wait-clean --scan" hangs on s390, rather then
figuring out why, just don't call it on s390, as we don't have BIOS RAID
on s390 so we don't need it there.
---
 loader/shutdown.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/loader/shutdown.c b/loader/shutdown.c
index 6a32e79..58625fe 100644
--- a/loader/shutdown.c
+++ b/loader/shutdown.c
@@ -58,7 +58,9 @@ static void performTerminations(int doKill) {
 }
 
 static void performUnmounts(int doKill) {
+#if !defined(__s390__) && !defined(__s390x__)
 	int ignore;
+#endif
 
 	if (testing || !doKill)
 		return;
@@ -69,8 +71,11 @@ static void performUnmounts(int doKill) {
 	printf("unmounting filesystems...\n"); 
 	unmountFilesystems();
 
+/* For some reason this hangs on s390, well we don't need it there anyways */
+#if !defined(__s390__) && !defined(__s390x__)
 	printf("waiting for mdraid sets to become clean...\n"); 
 	ignore = system("/sbin/mdadm --wait-clean --scan");
+#endif
 }
 
 static void performReboot(reboot_action rebootAction) {
-- 
1.6.5.rc2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux