CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2010/08/24 18:31:35
Modified files: sys/scsi : scsiconf.c scsiconf.h scsi_base.c Log message: add scsi_iopool_destroy and scsi_link_shutdown. when a link or device are going away, this will walk the pool and link queues and wake up processes that are sleeping while waiting for an io or xs. they will return NULL to the scsi_{xs,io}_get callers, which should then check if they device is still alive. all other handlers that are registered on the queues should be removed by their owners before the destroy/shutdown funcs are called. lots of help and discussion with matthew@ ok matthew@