diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-03-19 11:53:24 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-03-19 11:53:24 +0000 |
commit | 28101f2aea019abb7c702ec32539e5c98b0ea101 (patch) | |
tree | f50f451339ee325b893340c7231fcbf3236900e0 /regress/usr.bin/diff/t5.2 | |
parent | 84887a399e3d9bb4a509977968b41cf5d5756dcb (diff) |
this is a really large reworking of how ami works in terms of submitting
commands to the hardware and completing them.
previously the driver was very engineered toward moving io from the
logical disks scsi commands onto the hardware and off. as we built extra
functionality into the driver, this path grew more and more hairy as bits
were tacked on to cope.
this strips it back to dealing with getting the command onto the hardware
and off again. each path that submits commands now has to do all its work
before submitting the ccb, and supply a function for completing the ccb.
both the async and polled paths call the completion routines for commands
now. async commands that fail to get onto the hardware first go are stuck
on a queue and retried out of a timeout. previously this was only done for
scsi commands, now all paths take advantage of it.
Diffstat (limited to 'regress/usr.bin/diff/t5.2')
0 files changed, 0 insertions, 0 deletions