kernel_optimize_test/drivers/scsi
Christoph Hellwig 631c228cd0 [SCSI] hide EH backup data outside the scsi_cmnd
Currently struct scsi_cmnd has various fields that are used to backup
original data after the corresponding fields have been overridden for
EH commands.  This means drivers can easily get at it and misuse it.
Due to the old_ naming this doesn't happen for most of them, but two
that have different names have been used wrong a lot (see previous
patch).  Another downside is that they unessecarily bloat the scsi_cmnd
size.

This patch moves them onstack in scsi_send_eh_cmnd to fix those two
issues aswell as allowing future EH fixes like moving the EH command
submissions to use SG lists like everything else.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-07-09 11:56:44 -05:00
..
aacraid Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
aic7xxx [SCSI] aic7[9x]xx: Remove last vestiges of reverse_scan 2006-07-09 11:27:43 -05:00
aic7xxx_old Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
arm [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpt Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibmvscsi [SCSI] ibmvscsi: handle inactive SCSI target during probe 2006-07-09 11:28:58 -05:00
lpfc [SCSI] lpfc 8.1.7: Change version number to 8.1.7 2006-07-09 10:49:39 -05:00
megaraid Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
pcmcia Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
qla2xxx Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
sym53c8xx_2 [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
3w-9xxx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
3w-9xxx.h [SCSI] 3ware 9000 add big endian support 2006-03-19 10:18:42 -06:00
3w-xxxx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
3w-xxxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
53c700.h [SCSI] 53c700: fix breakage caused by the autosense update 2006-06-29 13:15:15 -04:00
53c700.scr
a100u2w.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a100u2w.h
a2091.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a2091.h
a3000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a3000.h
advansys.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
advansys.h
aha152x.c [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
aha152x.h [SCSI] aha152x: fix variable use before initialisation and other bugs 2006-02-28 11:20:45 -06:00
aha1542.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
aha1542.h
aha1740.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
aha1740.h
ahci.c [PATCH] ahci: Ensure that we don't grab both functions 2006-07-05 22:58:20 -04:00
aic7xxx_old.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
amiga7xx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
amiga7xx.h
ata_piix.c [libata] Bump versions 2006-06-26 20:41:33 -04:00
atari_dma_emul.c
atari_NCR5380.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atari_scsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atari_scsi.h
atp870u.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
atp870u.h
blz1230.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
blz2060.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
BusLogic.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
BusLogic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
bvme6000.c
bvme6000.h
ch.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
constants.c [SCSI] update additional sense codes and some opcode names 2006-07-09 09:10:06 -05:00
cyberstorm.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
cyberstormII.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dc395x.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dc395x.h
dec_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dmx3191d.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpt_i2o.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpti.h
dtc.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dtc.h
eata_generic.h
eata_pio.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
eata_pio.h
eata.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
esp.h [SCSI] sparc: Port esp to new SBUS driver layer. 2006-06-23 23:15:54 -07:00
fastlane.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fcal.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fcal.h
fd_mcs.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fdomain.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fdomain.h
FlashPoint.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
g_NCR5380_mmio.c
g_NCR5380.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
g_NCR5380.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gdth_ioctl.h
gdth_kcompat.h [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gdth_proc.c [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gdth_proc.h [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gdth.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
gdth.h [SCSI] remove the scsi_request interface from the gdth driver 2006-06-10 10:24:40 -05:00
gvp11.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
gvp11.h
hosts.c [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
hosts.h
hptiop.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
hptiop.h [SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver 2006-06-10 10:36:13 -05:00
ibmmca.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ibmmca.h
ide-scsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
imm.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
imm.h remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
in2000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
in2000.h
initio.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
initio.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ipr.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ipr.h [SCSI] ipr: Bump version 2006-04-13 10:13:30 -05:00
ips.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ips.h
iscsi_tcp.c [SCSI] iscsi: convert iscsi_tcp to new set/get param fns 2006-06-29 11:07:54 -04:00
iscsi_tcp.h [SCSI] iscsi: kill dtask mempools 2006-05-20 09:35:20 -05:00
jazz_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
Kconfig [PATCH] ata_piix: add ICH6/7/8 to Kconfig 2006-06-26 21:02:37 -04:00
lasi700.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
libata-bmdma.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
libata-core.c [PATCH] libata-core.c: restore configuration boot messages in ata_dev_configure(), v2 2006-07-05 22:17:47 -04:00
libata-eh.c [PATCH] libata: reimplement controller-wide PM 2006-07-05 22:16:28 -04:00
libata-scsi.c [PATCH] libata: reimplement per-dev PM 2006-07-05 22:16:28 -04:00
libata.h [PATCH] libata: make two functions global 2006-06-26 20:59:27 -04:00
libiscsi.c [SCSI] iscsi: pass target nr to session creation 2006-06-29 11:09:06 -04:00
mac53c94.c [PATCH] drivers/scsi/mac53c94.c __iomem annotations 2006-02-07 20:57:14 -05:00
mac53c94.h
mac_esp.c [PATCH] m68k: convert mac irq code 2006-06-25 10:00:58 -07:00
mac_scsi.c [PATCH] m68k: convert mac irq code 2006-06-25 10:00:58 -07:00
mac_scsi.h
Makefile Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2006-06-25 16:07:58 -07:00
mca_53c9x.c
megaraid.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
megaraid.h [SCSI] megaraid_legacy: kobject_register failure 2006-02-12 11:11:09 -06:00
mesh.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c [PATCH] drivers: use list_move() 2006-06-26 09:58:18 -07:00
ncr53c8xx.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR53c406a.c [SCSI] drivers/scsi: Use ARRAY_SIZE macro 2006-06-10 10:45:30 -05:00
NCR53C9x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR53C9x.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR5380.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR5380.h
NCR_D700.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR_D700.h
NCR_Q720.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
nsp32.h
oktagon_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
oktagon_io.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
osst_detect.h
osst_options.h
osst.c [PATCH] vfs: add lock owner argument to flush operation 2006-06-23 07:43:02 -07:00
osst.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pas16.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
pas16.h
pci2000.h
pdc_adma.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
pluto.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pluto.h
ppa.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppa.h remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti_asm.c
qlogicpti.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
qlogicpti.h
raid_class.c [SCSI] drivers/scsi: Use ARRAY_SIZE macro 2006-06-10 10:45:30 -05:00
sata_mv.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_nv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_promise.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_promise.h
sata_qstor.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_sil24.c [PATCH] sata_sil24: add suspend/sleep support 2006-07-05 22:16:28 -04:00
sata_sil.c [PATCH] sata_sil: add suspend/sleep support 2006-07-05 22:16:28 -04:00
sata_sis.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_svw.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_sx4.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_uli.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_via.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_vsc.c [PATCH] sata_vsc: data_xfer should use mmio 2006-07-05 21:44:45 -04:00
script_asm.pl
scsi_debug.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_debug.h
scsi_devinfo.c [SCSI] HP XP devinfo update 2006-06-26 09:30:00 -05:00
scsi_error.c [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
scsi_ioctl.c [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_lib.c [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
scsi_logging.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_module.c
scsi_priv.h [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
scsi_proc.c [SCSI] fix proc_scsi_write to return "length" on success with remove-single-device case 2006-05-10 10:22:30 -05:00
scsi_sas_internal.h [SCSI] scsi_transport_sas: introduce a sas_port entity 2006-06-28 12:40:54 -04:00
scsi_scan.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_sysctl.c
scsi_sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_transport_api.h [PATCH] SCSI: make scsi_implement_eh() generic API for SCSI transports 2006-05-20 00:39:08 -04:00
scsi_transport_fc.c [SCSI] fc transport: bug fix: correct references 2006-06-27 11:01:46 -05:00
scsi_transport_iscsi.c [SCSI] iscsi: add async notification of session events 2006-06-29 11:14:42 -04:00
scsi_transport_sas.c [SCSI] scsi_transport_sas: add unindexed ports 2006-07-09 09:06:24 -05:00
scsi_transport_spi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_typedefs.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi.c [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
scsi.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsicam.c [SCSI] Bogus disk geometry on large disks 2006-06-26 16:33:10 -05:00
sd.c [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
seagate.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
seagate.h
sg.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
sgiwd93.c [SCSI] Make sgiwd93_detect and sgiwd93_detect static. 2006-03-12 09:24:55 -06:00
sim710.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sr_ioctl.c [PATCH] kill cdrom ->dev_ioctl method 2006-03-23 07:38:09 -08:00
sr_vendor.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sr.c [SCSI] hide EH backup data outside the scsi_cmnd 2006-07-09 11:56:44 -05:00
sr.h [PATCH] kill cdrom ->dev_ioctl method 2006-03-23 07:38:09 -08:00
st_options.h
st.c [SCSI] st.c: Improve sense output 2006-07-09 11:27:03 -05:00
st.h [SCSI] st: remove unused st_buffer.in_use 2006-06-29 11:06:30 -04:00
sun3_NCR5380.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sym53c416.c
sym53c416.h
t128.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
t128.h
tmscsim.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
tmscsim.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
u14-34f.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ultrastor.c
ultrastor.h
wd33c93.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wd33c93.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wd7000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
zalon.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00