diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2005-11-08 11:06:41 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-15 04:15:45 +0100 |
commit | d6b10348f9397943eb968419a2b7f08895e38472 (patch) | |
tree | 9721f49b0cc7a6c4b41d7ef77b11bdfe0d74faea /drivers/scsi/st.h | |
parent | [SCSI] add kmemcache for scsi_io_context (diff) | |
download | linux-d6b10348f9397943eb968419a2b7f08895e38472.tar.xz linux-d6b10348f9397943eb968419a2b7f08895e38472.zip |
[SCSI] convert sg to scsi_execute_async
Convert sg to always send scatterlists, and kill scsi_request usage.
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 obey all queue limits so we can find
out about problems before calling scsi_execute_async. Currently, sg.c
could allocate a buffer that is too large, and send the request
to scsi_execute_async. scsi_execute_async will then check it against
all the queue limits and return a failure in this case. It would nicer
to know about the queue limit violation right away.
- 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>
Diffstat (limited to 'drivers/scsi/st.h')
0 files changed, 0 insertions, 0 deletions