[SCSI] use scatter lists for all block pc requests and simplify hw handlers
authorJames Bottomley <James.Bottomley@steeleye.com>
Sun, 5 Jun 2005 07:07:14 +0000 (02:07 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 28 Aug 2005 15:45:34 +0000 (10:45 -0500)
commite537a36d528053f6b9dbe6c88e763e835c0d3517
tree5c3a30bec263cb62538f08834db5e1cfec64c265
parent31151ba2cef171344beac254e65bd7e00138bb0d
[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: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c