diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-06 23:32:02 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-06 23:32:02 +0000 |
commit | 8fae125e6607bd08e7b186c9a093372424a02d89 (patch) | |
tree | 9d2ab0722eaf959f201b1ab068bc694f139db103 /games/gomoku | |
parent | 03eb2112caf7ae09d3620f5eb1e95357e3feee1c (diff) |
siop sets XS_NO_CCB when it fails to allocate device state when commands
are first sent to target/lun, as opposed to failing to allocate a ccb
(which ive already fixed). this moves the allocation and freeing of this
device state in siop into the scsi_probe and scsi_free handlers.
if siop cant allocate memory for a device when the midlayer is about to
probe it, we dont send commands to it. if the midlayer fails to find a
device at that target/lun, it asks siop to free it.
simplifies the io path and avoids work during interrupts.
ok deraadt@
reads good to both marco@ and krw@
Diffstat (limited to 'games/gomoku')
0 files changed, 0 insertions, 0 deletions