Source-Changes archive

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

CVS commit: syssrc/sys/dev/scsipi



Module Name:    syssrc
Committed By:   jmc
Date:           Thu Sep 19 08:31:11 UTC 2002

Modified Files:
        syssrc/sys/dev/scsipi: atapiconf.c scsiconf.c scsipi_base.c
            scsipiconf.h

Log Message:
Force the initial probes to happen within the newly forked off kthread.
This eliminates problems where the underlying interrupt handler isn't the
specific layer calling scsipi_complete() for a given scsi transaction.
This avoids deadlocks where the kthread that called the autoconf routines
to configure a scsibus shouldn't be the one put to sleep waiting on a
scsipi_complete (only the scsibus's kthread should be doing that).

To avoid jitter this will force the scsibus's to probe in the order they
run through autoconf (so machines with multiple bus's don't move sd* devices
around on every reboot).


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 syssrc/sys/dev/scsipi/atapiconf.c
cvs rdiff -r1.187 -r1.188 syssrc/sys/dev/scsipi/scsiconf.c
cvs rdiff -r1.78 -r1.79 syssrc/sys/dev/scsipi/scsipi_base.c
cvs rdiff -r1.69 -r1.70 syssrc/sys/dev/scsipi/scsipiconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index