linux/include/scsi
Matthew Wilcox 6f5391c283 [SCSI] Get rid of scsi_cmnd->done
The ULD ->done callback moves into the scsi_driver.  By moving the call
to scsi_io_completion() from scsi_blk_pc_done() to scsi_finish_command(),
we can eliminate the latter entirely.  By returning 'good_bytes' from
the ->done callback (rather than invoking scsi_io_completion()), we can
stop exporting scsi_io_completion().

Also move the prototypes from sd.h to sd.c as they're all internal anyway.
Rename sd_rw_intr to sd_done and rw_intr to sr_done.

Inspired-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-10-12 14:52:46 -04:00
..
Kbuild
iscsi_if.h
iscsi_proto.h
libiscsi.h
libsas.h
libsrp.h
sas.h
sas_ata.h
scsi.h
scsi_cmnd.h [SCSI] Get rid of scsi_cmnd->done 2007-10-12 14:52:46 -04:00
scsi_dbg.h [SCSI] Fix device not ready printk 2007-10-12 14:51:56 -04:00
scsi_device.h
scsi_devinfo.h
scsi_driver.h [SCSI] Get rid of scsi_cmnd->done 2007-10-12 14:52:46 -04:00
scsi_eh.h
scsi_host.h [SCSI] Remove ->pid field from scsi_cmnd 2007-10-12 14:51:52 -04:00
scsi_ioctl.h
scsi_netlink.h
scsi_netlink_fc.h
scsi_tcq.h
scsi_tgt.h
scsi_tgt_if.h
scsi_transport.h [SCSI] tgt: move tsk_mgmt_response callback to transport class 2007-10-12 14:38:01 -04:00
scsi_transport_fc.h [SCSI] fc_transport: add target driver support 2007-10-12 14:46:58 -04:00
scsi_transport_iscsi.h
scsi_transport_sas.h
scsi_transport_spi.h
scsi_transport_srp.h [SCSI] tgt: move tsk_mgmt_response callback to transport class 2007-10-12 14:38:01 -04:00
scsicam.h
sd.h [SCSI] Get rid of scsi_cmnd->done 2007-10-12 14:52:46 -04:00
sg.h
srp.h