diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2005-11-11 06:30:27 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-14 22:03:35 -0500 |
commit | 6e68af666f5336254b5715dca591026b7324499a (patch) | |
tree | 5640209b6e2b75659149460f14531cfecffe2f5d /drivers/scsi/scsi_priv.h | |
parent | 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc (diff) |
[SCSI] Convert SCSI mid-layer to scsi_execute_async
Add scsi helpers to create really-large-requests and convert
scsi-ml to scsi_execute_async().
Per Jens's previous comments, I placed this function in scsi_lib.c.
I made it follow all the queue's limits - I think I did at least :), so
I removed the warning on the function header.
I think the scsi_execute_* functions should eventually take a request_queue
and be placed some place where the dm-multipath hw_handler can use them
if that failover code is going to stay in the kernel. That conversion
patch will be sent in another mail though.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index a8d121c8fbcd..f04e7e11f57a 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h | |||
@@ -40,7 +40,6 @@ extern void scsi_exit_hosts(void); | |||
40 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); | 40 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); |
41 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); | 41 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); |
42 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); | 42 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); |
43 | extern int scsi_insert_special_req(struct scsi_request *sreq, int); | ||
44 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, | 43 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, |
45 | struct scsi_request *sreq); | 44 | struct scsi_request *sreq); |
46 | extern void __scsi_release_request(struct scsi_request *sreq); | 45 | extern void __scsi_release_request(struct scsi_request *sreq); |