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

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

 



I don't think that is the reason, please have a look at my bug updates.

On 10/15/2009 05:07 PM, Hans de Goede wrote:
> 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) {

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Erich Baier
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
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