Skip to content

Commit

Permalink
[SCSI] convert st to use scsi_execute_async
Browse files Browse the repository at this point in the history
convert st to always send scatterlists and kill scsi_request
usage.

This is the same as last time as it was posted, but with Kai's patches
merged and we now pass the bytes value to scsi_execute_async.

TODO:

- move DIO code to common place or make block layers usable for ULDs.
- move buffer allocation code to common place for all ULDs to use. And
make buffer allocation code handle all queue limits so we can find
out about problems before calling scsi_execute_async.
- move indirect (copy_to/from_user) paths commone place or make block
layers usable for ULDs.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Mike Christie authored and James Bottomley committed Dec 15, 2005
1 parent d6b1034 commit 8b05b77
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 145 deletions.
Loading

0 comments on commit 8b05b77

Please sign in to comment.