linux/drivers/scsi
Christoph Hellwig 651a013649 scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough
Simplify the SMP passthrough code by switching it to the generic bsg-lib
helpers that abstract away the details of the request code, and gets
drivers out of seeing struct scsi_request.

For the libsas host SMP code there is a small behavior difference in
that we now always clear the residual len for successful commands,
similar to the three other SMP handler implementations.  Given that
there is no partial command handling in the host SMP handler this should
not matter in practice.

[mkp: typos and checkpatch fixes]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-08-29 21:51:45 -04:00
..
aacraid
aic7xxx
aic94xx scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
arcmsr
arm scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
be2iscsi
bfa scsi: bfa: move bus reset to target reset 2017-08-25 17:21:10 -04:00
bnx2fc scsi: bnx2fc: remove obsolete bnx2fc_eh_host_reset() definition 2017-08-25 17:21:12 -04:00
bnx2i
csiostor
cxgbi
cxlflash scsi: cxlflash: Fix vlun resize failure in the shrink path 2017-08-25 18:24:04 -04:00
device_handler
dpt
esas2r
fcoe scsi: make device_type const 2017-08-25 17:29:29 -04:00
fnic scsi: fnic: do not call host reset from command abort 2017-08-25 17:21:10 -04:00
hisi_sas scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
ibmvscsi scsi: ibmvfc: ibmvscsi: ibmvscsi_tgt: constify vio_device_id 2017-08-25 17:42:42 -04:00
ibmvscsi_tgt scsi: ibmvfc: ibmvscsi: ibmvscsi_tgt: constify vio_device_id 2017-08-25 17:42:42 -04:00
isci scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
libfc scsi: fc_fcp: do not call fc_block_scsi_eh() from host reset 2017-08-25 17:21:10 -04:00
libsas scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough 2017-08-29 21:51:45 -04:00
lpfc scsi: lpfc: avoid false-positive gcc-8 warning 2017-08-25 18:26:52 -04:00
megaraid scsi: megaraid_mbox: drop duplicate bus reset and device reset function 2017-08-25 17:21:12 -04:00
mpt3sas scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough 2017-08-29 21:51:45 -04:00
mvsas scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
osd
pcmcia scsi: qlogicfas: move bus_reset to host_reset 2017-08-25 17:21:11 -04:00
pm8001 scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
qedf scsi: qedf: drop bus reset handler 2017-08-25 17:21:11 -04:00
qedi
qla2xxx scsi: qla2xxx: Update driver version to 10.00.00.01-k 2017-08-24 22:29:34 -04:00
qla4xxx
smartpqi scsi: smartpqi: remove the smp_handler stub 2017-08-29 21:51:44 -04:00
snic
sym53c8xx_2
ufs scsi: ufs: reqs and tasks were put in the wrong order 2017-08-24 22:29:45 -04:00
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700_d.h_shipped
53c700.c scsi: 53c700: move bus reset to host reset 2017-08-25 17:21:11 -04:00
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c scsi: drop bus reset for wd33c93-compatible boards 2017-08-25 17:21:10 -04:00
a2091.h
a3000.c scsi: drop bus reset for wd33c93-compatible boards 2017-08-25 17:21:10 -04:00
a3000.h
a4000t.c
advansys.c
aha152x.c scsi: aha152x: drop host reset 2017-08-25 17:21:11 -04:00
aha152x.h
aha1542.c scsi: aha1542: constify pnp_device_id 2017-08-24 22:29:07 -04:00
aha1542.h
aha1740.c
aha1740.h
am53c974.c
atari_scsi.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
atp870u.c
atp870u.h
BusLogic.c
BusLogic.h
bvme6000_scsi.c
ch.c scsi: ch: add refcounting 2017-08-24 22:29:06 -04:00
constants.c
dc395x.c
dc395x.h
dmx3191d.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
dpt_i2o.c
dpti.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c scsi: eata: remove 'arg_done' from eata2x_eh_host_reset() 2017-08-25 17:21:12 -04:00
esp_scsi.c
esp_scsi.h
fdomain.c scsi: fdomain: move bus reset to host reset 2017-08-25 17:21:10 -04:00
fdomain.h scsi: fdomain: move bus reset to host reset 2017-08-25 17:21:10 -04:00
FlashPoint.c
g_NCR5380.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
gdth_ioctl.h
gdth_proc.c
gdth_proc.h
gdth.c
gdth.h
gvp11.c scsi: drop bus reset for wd33c93-compatible boards 2017-08-25 17:21:10 -04:00
gvp11.h
hosts.c
hpsa_cmd.h
hpsa.c scsi: hpsa: remove the smp_handler stub 2017-08-29 21:51:44 -04:00
hpsa.h
hptiop.c scsi: hptiop: Simplify reset handling 2017-08-25 17:21:10 -04:00
hptiop.h
imm.c scsi: imm: drop duplicate bus_reset handler 2017-08-25 17:21:11 -04:00
imm.h
initio.c
initio.h
ipr.c
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: Remove a set-but-not-used variable 2017-08-25 17:08:08 -04:00
iscsi_tcp.h
jazz_esp.c
Kconfig
lasi700.c
libiscsi_tcp.c
libiscsi.c scsi: libiscsi: Fix indentation 2017-08-25 17:08:08 -04:00
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
Makefile
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c scsi: drop bus reset for wd33c93-compatible boards 2017-08-25 17:21:10 -04:00
mvme147.h
mvumi.c
mvumi.h
ncr53c8xx.c
ncr53c8xx.h
NCR53c406a.c
NCR5380.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c scsi: nsp32: drop bus reset 2017-08-25 17:21:11 -04:00
nsp32.h
osst_detect.h
osst_options.h
osst.c scsi: osst: silence underflow warning in osst_verify_frame() 2017-08-24 22:29:01 -04:00
osst.h
pmcraid.c scsi: pmcraid: fix duplicated code for different branches 2017-08-24 22:29:05 -04:00
pmcraid.h
ppa.c scsi: ppa: drop duplicate bus_reset handler 2017-08-25 17:21:11 -04:00
ppa.h
ps3rom.c
qla1280.c
qla1280.h
qlogicfas408.c scsi: qlogicfas: move bus_reset to host_reset 2017-08-25 17:21:11 -04:00
qlogicfas408.h scsi: qlogicfas: move bus_reset to host_reset 2017-08-25 17:21:11 -04:00
qlogicfas.c scsi: qlogicfas: move bus_reset to host_reset 2017-08-25 17:21:11 -04:00
qlogicpti.c scsi: qlogicpti: fixup qlogicpti_reset() definition 2017-08-28 22:15:46 -04:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi_common.c
scsi_debug.c scsi: scsi_debug: Remove a set-but-not-used variable 2017-08-25 17:08:08 -04:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c
scsi_dh.c
scsi_error.c scsi: Use blk_mq_rq_to_pdu() to convert a request to a SCSI command pointer 2017-08-25 17:08:07 -04:00
scsi_ioctl.c scsi: Suppress gcc 7 fall-through warnings reported with W=1 2017-08-25 17:08:07 -04:00
scsi_lib_dma.c
scsi_lib.c scsi: Rework handling of scsi_device.vpd_pg8[03] 2017-08-29 21:51:42 -04:00
scsi_logging.c
scsi_logging.h
scsi_module.c
scsi_netlink.c
scsi_pm.c
scsi_priv.h scsi: Document which queue type a function is intended for 2017-08-25 17:08:07 -04:00
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c scsi: Document which queue type a function is intended for 2017-08-25 17:08:07 -04:00
scsi_sysctl.c
scsi_sysfs.c scsi: Rework handling of scsi_device.vpd_pg8[03] 2017-08-29 21:51:42 -04:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c scsi: bsg-lib: pass the release callback through bsg_setup_queue 2017-08-29 21:51:43 -04:00
scsi_transport_iscsi.c scsi: bsg-lib: pass the release callback through bsg_setup_queue 2017-08-29 21:51:43 -04:00
scsi_transport_sas.c scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough 2017-08-29 21:51:45 -04:00
scsi_transport_spi.c
scsi_transport_srp.c scsi: scsi_transport_srp: Suppress a W=1 compiler warning 2017-08-25 17:08:08 -04:00
scsi_typedefs.h
scsi.c scsi: Rework handling of scsi_device.vpd_pg8[03] 2017-08-29 21:51:42 -04:00
scsi.h
scsicam.c
sd_dif.c
sd_zbc.c
sd.c scsi: sd: remove duplicated setting of gd->minors 2017-08-25 17:26:08 -04:00
sd.h
sense_codes.h
ses.c scsi: ses: Fix racy cleanup of /sys in remove_dev() 2017-08-25 17:35:40 -04:00
sg.c scsi: sg: Fix type of last blk_trace_setup() argument 2017-08-25 17:08:08 -04:00
sgiwd93.c scsi: drop bus reset for wd33c93-compatible boards 2017-08-25 17:21:10 -04:00
sim710.c
sni_53c710.c
sr_ioctl.c
sr_vendor.c
sr.c scsi: sd: sr: Convert two assignments into warning statements 2017-08-25 17:08:08 -04:00
sr.h
st_options.h
st.c
st.h
stex.c
storvsc_drv.c
sun3_scsi_vme.c
sun3_scsi.c scsi: NCR5380: Move bus reset to host reset 2017-08-25 17:21:11 -04:00
sun3x_esp.c
sun_esp.c
sym53c416.c
sym53c416.h
virtio_scsi.c
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c scsi: drop bus reset for wd33c93-compatible boards 2017-08-25 17:21:10 -04:00
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c
zorro7xx.c