linux-stable/include/scsi
brking@us.ibm.com bb1d1073a1 [SCSI] Prevent scsi_execute_async from guessing cdb length
When the scsi_execute_async interface was added it ended up reducing
the flexibility of userspace to send arbitrary scsi commands through
sg using SG_IO. The SG_IO interface allows userspace to specify the
CDB length. This is now ignored in scsi_execute_async and it is
guessed using the COMMAND_SIZE macro, which is not always correct,
particularly for vendor specific commands. This patch adds a cmd_len
parameter to the scsi_execute_async interface to allow the caller
to specify the length of the CDB.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-01-26 15:13:50 -05:00
..
iscsi_if.h [SCSI] iscsi: seperate iscsi interface from setup functions 2006-01-14 10:55:20 -06:00
iscsi_proto.h [SCSI] iscsi: rename some proto defs 2005-09-20 12:35:27 -05:00
scsi.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_cmnd.h [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
scsi_dbg.h [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
scsi_device.h [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_driver.h [BLOCK] update SCSI to use new blk_ordered for barriers 2006-01-06 09:52:55 +01:00
scsi_eh.h Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h [SCSI] remove scsi_wait_req 2005-11-06 12:45:20 -06:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_fc.h [SCSI] fc transport: add permanent_port_name fc_host attribute 2006-01-14 10:54:48 -06:00
scsi_transport_iscsi.h [SCSI] iscsi: seperate iscsi interface from setup functions 2006-01-14 10:55:20 -06:00
scsi_transport_sas.h [SCSI] sas: add support for PHY resets 2005-10-28 19:08:03 -05:00
scsi_transport_spi.h [PATCH] scsi_transport_spi build fix 2006-01-18 19:20:16 -08:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg_request.h [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00
srp.h IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00