kernel_optimize_test/drivers/scsi
Christoph Hellwig 0cc61e64e2 block: fix timeout changes for legacy request drivers
blk_mq_complete_request can only be called for blk-mq drivers, but when
removing the BLK_EH_HANDLED return value, two legacy request timeout
methods incorrectly got switched to call blk_mq_complete_request.
Call __blk_complete_request instead to reinstance the previous behavior.
For that __blk_complete_request needs to be exported.

Fixes: 1fc2b62e ("scsi_transport_fc: complete requests from ->timeout")
Fixes: 0df0bb08 ("null_blk: complete requests from ->timeout")
Reported-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-19 11:27:18 -06:00
..
aacraid scsi: aacraid: Correct hba_send to include iu_type 2018-05-01 23:27:18 -04:00
aic7xxx
aic94xx
arcmsr
arm
be2iscsi
bfa
bnx2fc
bnx2i
csiostor cxgb4: change the port capability bits definition 2018-05-23 16:00:56 -04:00
cxgbi scsi: cxgb4i: silence overflow warning in t4_uld_rx_handler() 2018-04-09 21:32:45 -04:00
cxlflash scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
device_handler
dpt
esas2r scsi: esas2r: fix spelling mistake: "requestss" -> "requests" 2018-05-14 22:40:30 -04:00
fcoe
fnic scsi: fnic: fix spelling mistake in fnic stats "Abord" -> "Abort" 2018-04-18 22:58:49 -04:00
hisi_sas scsi: hisi_sas: Mark PHY as in reset for nexus reset 2018-05-28 22:40:32 -04:00
ibmvscsi
ibmvscsi_tgt
isci SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
libfc
libsas scsi: libsas: add transport class for ATA devices 2018-04-18 19:32:51 -04:00
lpfc scsi: lpfc: update driver version to 12.0.0.4 2018-05-28 22:40:33 -04:00
megaraid SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
mpt3sas scsi: mpt3sas: Update driver version "25.100.00.00" 2018-05-08 00:40:05 -04:00
mvsas
osd SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
pcmcia
pm8001 scsi: pm80xx: fix spelling mistake "UNSORPORTED" -> "SUPPORTED" 2018-05-28 21:31:07 -04:00
qedf SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
qedi qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
qla2xxx scsi: qla2xxx: remove the unused tcm_qla2xxx_cmd_wq 2018-05-08 01:24:25 -04:00
qla4xxx block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE 2018-05-29 08:59:21 -06:00
smartpqi
snic scsi: snic: fix a couple of spelling mistakes: "COMPLETE" 2018-05-18 12:22:49 -04:00
sym53c8xx_2
ufs SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
.gitignore
3w-9xxx.c scsi: 3w-9xxx: fix a missing-check bug 2018-05-08 01:32:18 -04:00
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c scsi: 3w-xxxx: fix a missing-check bug 2018-05-08 01:32:43 -04:00
3w-xxxx.h
53c700_d.h_shipped
53c700.c
53c700.h
53c700.scr
a100u2w.c scsi: a100u2w: Use module_pci_driver 2018-05-01 23:31:40 -04:00
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c
aha152x.c
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
am53c974.c scsi: am53c974: Use module_pci_driver 2018-05-01 23:29:41 -04:00
atari_scsi.c
atp870u.c
atp870u.h
BusLogic.c
BusLogic.h
bvme6000_scsi.c
ch.c
constants.c
dc395x.c
dc395x.h
dmx3191d.c
dpt_i2o.c scsi: dpt_i2o: Remove VLA usage 2018-05-18 12:03:51 -04:00
dpti.h
esp_scsi.c
esp_scsi.h
FlashPoint.c
g_NCR5380.c
gdth_ioctl.h
gdth_proc.c
gdth_proc.h
gdth.c block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE 2018-05-29 08:59:21 -06:00
gdth.h
gvp11.c
gvp11.h
hosts.c
hpsa_cmd.h
hpsa.c
hpsa.h
hptiop.c
hptiop.h
imm.c
imm.h
initio.c
initio.h
ipr.c scsi: ipr: new IOASC update 2018-05-14 22:42:53 -04:00
ipr.h
ips.c scsi: ips: fix firmware timestamps for 32-bit 2018-04-20 19:40:17 -04:00
ips.h scsi: ips: fix firmware timestamps for 32-bit 2018-04-20 19:40:17 -04:00
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: don't set a bounce limit 2018-04-19 00:00:44 -04:00
iscsi_tcp.h
jazz_esp.c
Kconfig scsi: zorro_esp: New driver for Amiga Zorro NCR53C9x boards 2018-04-19 00:00:44 -04:00
lasi700.c
libiscsi_tcp.c
libiscsi.c libiscsi: don't try to bypass SCSI EH 2018-05-29 08:59:21 -06:00
mac_esp.c
mac_scsi.c
mac53c94.c
mac53c94.h
Makefile SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
megaraid.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
megaraid.h megaraid: simplify procfs code 2018-05-16 07:24:30 +02:00
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
mvumi.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
ncr53c8xx.c
ncr53c8xx.h
NCR5380.c
NCR5380.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
osst_detect.h
osst_options.h
osst.c block: sanitize blk_get_request calling conventions 2018-05-14 08:55:12 -06:00
osst.h
pmcraid.c
pmcraid.h
ppa.c
ppa.h
ps3rom.c
qla1280.c
qla1280.h
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c scsi: qlogicpti: Fix an error handling path in 'qpti_sbus_probe()' 2018-05-18 12:22:48 -04:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi_common.c
scsi_debug.c scsi: scsi_debug: IMMED related delay adjustments 2018-04-18 22:58:49 -04:00
scsi_debugfs.c scsi: devinfo: use const_ilog2 for array indices 2018-04-20 19:14:28 -04:00
scsi_debugfs.h
scsi_devinfo.c scsi: devinfo: BLIST_RETRY_ASC_C1 for Fujitsu ETERNUS 2018-04-20 19:14:36 -04:00
scsi_dh.c scsi: scsi_dh: replace too broad "TP9" string with the exact models 2018-04-18 19:34:08 -04:00
scsi_error.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
scsi_ioctl.c
scsi_lib_dma.c
scsi_lib.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c
scsi_sysctl.c
scsi_sysfs.c scsi: devinfo: change blist_flag_t to 64bit 2018-04-20 19:14:35 -04:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c block: fix timeout changes for legacy request drivers 2018-06-19 11:27:18 -06:00
scsi_transport_iscsi.c block: remove parent device reference from struct bsg_class_device 2018-05-29 13:00:25 -06:00
scsi_transport_sas.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
scsi_transport_spi.c
scsi_transport_srp.c for-4.18/block-20180603 2018-06-04 07:58:06 -07:00
scsi_typedefs.h
scsi.c
scsi.h
scsicam.c
sd_dif.c
sd_zbc.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
sd.c scsi: sd: Defer spinning up drive while SANITIZE is in progress 2018-04-18 23:37:40 -04:00
sd.h scsi: sd_zbc: Change the type of the ZBC fields into u32 2018-04-19 00:00:44 -04:00
sense_codes.h
ses.c
sg.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
sgiwd93.c
sim710.c
sni_53c710.c
sr_ioctl.c sr: pass down correctly sized SCSI sense buffer 2018-05-21 12:21:14 -06:00
sr_vendor.c
sr.c sr: get/drop reference to device in revalidate and check_events 2018-04-11 11:26:09 -06:00
sr.h
st_options.h
st.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
st.h
stex.c
storvsc_drv.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
sun_esp.c
sun3_scsi_vme.c
sun3_scsi.c
sun3x_esp.c
virtio_scsi.c
vmw_pvscsi.c scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts 2018-05-01 23:15:40 -04:00
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd719x.c scsi: wd719x: Use module_pci_driver 2018-05-01 23:30:12 -04:00
wd719x.h
xen-scsifront.c
zalon.c
zorro_esp.c scsi: zorro_esp: New driver for Amiga Zorro NCR53C9x boards 2018-04-19 00:00:44 -04:00
zorro7xx.c