CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2010/09/13 01:48:12
Modified files: sys/dev/ic : mpi.c mpivar.h Log message: if a busy sas device is unplugged, the pending io on that device will never complete. when we get a detach event from the firmware, we currently deactivate the device and then request the scsi midlayer attempt to detach the device. this diff now deactivates the device and then resets the target, forcing the ioc to complete the pending operations. once the reset has completed we then request a detach of the kernel device. this lets me hotplug busy sas disks without leaking scsi_xfers or bufs or anything.