Subject: Re: have scsibus sleep only one time
To: Matt Thomas <>
From: Manuel Bouyer <>
List: tech-kern
Date: 03/10/2003 13:07:11
On Sun, Mar 09, 2003 at 08:50:01PM -0800, Matt Thomas wrote:
> At 06:04 PM 3/9/2003, matthew green wrote:
> >
> >   Hi,
> >   would anyone object to the attached change ?
> >   It makes all the attached scsibusses sleep "in parallel" instead of
> >   sequencially, which is a real win for machines with several SCSI busses.
> >   On my DS20, which has 8 scsi busses, this saves 14 seconds on boot.
> >
> >
> >i think this change is a wonderful idea.
> There is one issue with this.  If you don't wire down your scsi devices
> in your config file, they may get attached in random order.

It should not, the probes are still serialised (via the scsi_initq list
and the scsibus_interlock simple_lock), it's just the sleep which is done
in parallel.

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 24 ans d'experience feront toujours la difference