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:   mjacob
Date:           Tue Sep 18 20:20:27 UTC 2001

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

Log Message:
Rather than run a periph's queue from scsipi_periph_timed_thaw which is
called via a callout, kick the completion thread to run it for us (uses
a new flag, SCSIPI_CHAN_KICK).

If we've received BUSY status and we haven't started the completion
thread yet, don't freeze do a callout to scsipi_periph_timed_thaw which
then will try and kick the completion thread- instead treat the command
as if it were a polled command and just call delay for 1 second.

If DIAGNOSTIC is defined, and the periph qfreeze count is less than
zero, panic because some HBA has corrupted the periph structure's
accounting.


To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 syssrc/sys/dev/scsipi/scsipi_base.c
cvs rdiff -r1.57 -r1.58 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