[SCSI] Convert SCSI mid-layer to scsi_execute_async
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 11 Nov 2005 11:30:27 +0000 (05:30 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 15 Dec 2005 03:03:35 +0000 (19:03 -0800)
commit6e68af666f5336254b5715dca591026b7324499a
tree5640209b6e2b75659149460f14531cfecffe2f5d
parent6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc
[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>
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h
fs/bio.c
include/linux/bio.h
include/scsi/scsi_device.h