Re: AIC + RAID1 error? (was: Re: aic7xxx errors)

From: Justin T. Gibbs (gibbs@scsiguy.com)
Date: Mon Sep 10 2001 - 18:46:10 EST


>> MD (line 3475 of drivers/md/md.c) uses 0 too. Change it to INT_MAX
>> and MD will always get shutdown prior to any child devices it might
>
>I don't believe INT_MAX to be a good idea. What happens if anything else needs
>to shutdown prior to md (think of tux, knfsd)?

Your examples are processes (albeit in the kernel) which should have
received a signal long before the notifier chain is called.

>As a suggestion it would be a
>good idea if someone with a broader overview would define some reboot
>priorities in include/linux/notifier.h.

And expand the codes that are used for the notifier. The current set
of codes are not well defined and most drivers treat all of them the
same.

--
Justin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:29 EST