OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Wed Jun 02 2010 - 08:32:13 CDT


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2010/06/02 07:32:13

Modified files:
        sys/scsi : sd.c sdvar.h

Log message:
bring back the SDF_WAITING waiting flag while adapters still implement
NO_CCB.

if sd_buf_done is told that the adapter has no more ccbs via NO_CCB, this
sets a flag so sdstart doesnt try and queue more io straight away.

this fixes the lockups on ciss that halex and okan were experiencing after
the iopools code went in. it will fix any other hba that returns NO_CCB
too.

tested by me, okan, and halex
ok krw okan halex