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

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


>What about a kind of timer ?

The functions are run serially. If I'm to wait, I must block
or risk having the machine powered off prior to completing my shutdown.

A coworker of mine playing with the MD code reminded me that
he had to change the priority of the MD notifier to make it work.
I believe that this is the correct fix as there are other SCSI
drivers that have shutdown hooks.

All HBA drivers currently use 0 (or the lowest) as their priority.
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
use.

--
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