summaryrefslogtreecommitdiffstats
path: root/release/extract.sh
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-04-27 17:44:27 +0000
committergibbs <gibbs@FreeBSD.org>1995-04-27 17:44:27 +0000
commit59c33f4bae158ee6d37c79fab9b10137727af2ce (patch)
tree683605a385f45a00a6eb36a04a1212e1c376e1cc /release/extract.sh
parent56ee4e4255549312f7c94c51a06a8cc38bef0d75 (diff)
downloadFreeBSD-src-59c33f4bae158ee6d37c79fab9b10137727af2ce.zip
FreeBSD-src-59c33f4bae158ee6d37c79fab9b10137727af2ce.tar.gz
Restructure the arbitration loop to allow for reselections that win out over
the adapter's selections. Many fast periferals were getting upset when the sequencer decided to rearbitrate after the device had already won arbitration. This also forced the creation of a list threaded through the SCBs (since we don't have enough space anywhere else) of commands that are awaiting reselection. This list is run down before any new transactions from the input queue are allowed. The list is appened to whenever we begin a selection (simple case since the selecting device is always at the head) and by the kernel driver whenever a request sense occurs. In the common case, the list is only one element long, but when a reselection wins out over a selection and that reselection generates a request sense, the outstanding selection required for the retreval of the sense code grows the list. On machines with many targets, this might cause the list to grow large, so this solution, which will allow up to the maximum number of I/O requests capible of the card elements in the list, was chosen. The list manipulation is trivial and adds three sequencer instructions of overhead to the selection phase. This fixes the "target busy" errors from micropolis drives and the bursty I/O problem when performing I/O between a Quantum Grand Prix and any other device. I anticipate that this will correct many of the problems that have been reported with this driver. Reviewed by: Wcarchive and David Greenman
Diffstat (limited to 'release/extract.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud