diff options
author | 2010-09-13 07:48:12 +0000 | |
---|---|---|
committer | 2010-09-13 07:48:12 +0000 | |
commit | 3f6b51f0edaf8f93d0752f64c6aeb009899ff61f (patch) | |
tree | 7bf4433c558edb49957b5ad40d3ce8144107c6be /sys/netinet | |
parent | dont reuse the event notifications ccbs id for the acknowledgement. (diff) | |
download | wireguard-openbsd-3f6b51f0edaf8f93d0752f64c6aeb009899ff61f.tar.xz wireguard-openbsd-3f6b51f0edaf8f93d0752f64c6aeb009899ff61f.zip |
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.
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions