CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2009/10/22 05:56:32

Modified files:
        sys/scsi       : mpath.c scsiconf.c scsiconf.h 

Log message:
devices below the scsibus should all be detached via scsi_detach_lun.
scsibusdetach wasnt doign it properly, so we would be leaking on detach in
some cases.

now, with the introduction of mpath, the scsi_link structures can
represent a path to a mpath node as well as normal devices. this
intercepts the device activate entrypoints and sends them to mpath
if it it in use rather than assuming a device is always there. the
scsibusdetach change ensures that detach always ends up handling
the mpath node case too.

hotplug bus functionality (eg, usb) tested by form@

Reply via email to