Skip to content
Commit e537a36d authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] use scatter lists for all block pc requests and simplify hw handlers



Here's the proof of concept for this one.  It converts scsi_wait_req to
do correct REQ_BLOCK_PC submission (and works nicely in my setup).

The final goal should be to eliminate struct scsi_request, but that
can't be done until the character submission paths of sg and st are also
modified.

There's some loss of functionality to this: retries are no longer
controllable (except by setting REQ_FASTFAIL) and the wait_req API needs
to be altered, but it looks very nice.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 31151ba2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment