Messages in this thread | | | Date | Tue, 11 Sep 2001 02:00:24 +0200 (CEST) | From | Andreas Steinmetz <> | Subject | Re: AIC + RAID1 error? (was: Re: aic7xxx errors) |
| |
On 10-Sep-2001 Justin T. Gibbs wrote: >>> 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. >
Granted. I could, however, imagine a fs to require a reboot notifier and that would need definitely be processed before md.
>>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. >
Just posted sort of this request to the list.
> -- > Justin >
Andreas Steinmetz D.O.M. Datenverarbeitung GmbH - 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/
| |