linux_dsm_epyc7002/drivers/scsi
Bart Van Assche 0eebd005dd scsi: Implement blk_mq_ops.show_rq()
Show the SCSI CDB for pending SCSI commands in
/sys/kernel/debug/block/*/mq/*/dispatch and */rq_list. An example
of how SCSI commands are displayed by this code:

ffff8801703245c0 {.op=READ, .cmd_flags=META PRIO, .rq_flags=DONTPREP IO_STAT STATS, .tag=14, .internal_tag=-1, .cmd=Read(10) 28 00 2a 81 1b 30 00 00 08 00}

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: <linux-scsi@vger.kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-26 15:09:04 -06:00
..
aacraid Merge remote-tracking branch 'mkp-scsi/fixes' into fixes 2017-03-07 15:13:02 -08:00
aic7xxx scripts/spelling.txt: add "disble(d)" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
aic94xx
arcmsr
arm
be2iscsi
bfa scripts/spelling.txt: add "aligment" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
bnx2fc sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
bnx2i sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
csiostor
cxgbi
cxlflash SCSI misc on 20170303 2017-03-03 21:36:56 -08:00
device_handler scsi: remove scsi_execute_req_flags 2017-02-23 16:57:36 -05:00
dpt
esas2r
fcoe scripts/spelling.txt: add "omited" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
fnic
hisi_sas
ibmvscsi
ibmvscsi_tgt
isci
libfc sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h> in <linux/sched.h> 2017-03-02 08:42:38 +01:00
libsas
lpfc nvmet_fc: Rework target side abort handling 2017-04-21 16:41:51 +02:00
megaraid scsi: megaraid_sas: Driver version upgrade 2017-03-13 22:59:53 -04:00
mpt3sas Merge remote-tracking branch 'mkp-scsi/fixes' into fixes 2017-03-07 15:13:02 -08:00
mvsas
osd scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
pcmcia
pm8001
qedf scsi: qedf: Use vsprintf extension %pad 2017-03-06 22:39:26 -05:00
qedi scsi: qedi: fix build error without DEBUG_FS 2017-03-06 22:22:16 -05:00
qla2xxx scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
qla4xxx
smartpqi scsi: smartpqi: fix time handling 2017-02-22 18:41:42 -05:00
snic
sym53c8xx_2
ufs scsi: ufs: don't check unsigned type for a negative value 2017-03-15 13:37:18 -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
53c700.h
53c700.scr
a100u2w.c
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
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
dpti.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp_scsi.c
esp_scsi.h
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380.c
gdth_ioctl.h
gdth_proc.c
gdth_proc.h
gdth.c
gdth.h
gvp11.c
gvp11.h
hosts.c
hpsa_cmd.h scsi: hpsa: update check for logical volume status 2017-03-15 13:36:22 -04:00
hpsa.c scsi: hpsa: do not timeout reset operations 2017-03-15 13:37:17 -04:00
hpsa.h scsi: hpsa: limit outstanding rescans 2017-03-15 13:37:10 -04:00
hptiop.c
hptiop.h
imm.c
imm.h
initio.c
initio.h
ipr.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
Kconfig scsi: lpfc: Finalize Kconfig options for nvme 2017-03-15 13:37:18 -04:00
lasi700.c
libiscsi_tcp.c
libiscsi.c Merge remote-tracking branch 'mkp-scsi/fixes' into fixes 2017-03-07 15:13:02 -08:00
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
Makefile scsi: Implement blk_mq_ops.show_rq() 2017-04-26 15:09:04 -06:00
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c
mvumi.h
ncr53c8xx.c
ncr53c8xx.h
NCR53c406a.c
NCR5380.c
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
osst_detect.h
osst_options.h
osst.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
osst.h
pmcraid.c
pmcraid.h
ppa.c
ppa.h
ps3rom.c
qla1280.c
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti.c
qlogicpti.h
raid_class.c
script_asm.pl
scsi_common.c scsi: always zero sshdr in scsi_normalize_sense 2017-02-22 19:33:00 -05:00
scsi_debug.c
scsi_debugfs.c scsi: Implement blk_mq_ops.show_rq() 2017-04-26 15:09:04 -06:00
scsi_debugfs.h scsi: Implement blk_mq_ops.show_rq() 2017-04-26 15:09:04 -06:00
scsi_devinfo.c
scsi_dh.c scsi: use 'scsi_device_from_queue()' for scsi_dh 2017-02-22 18:41:42 -05:00
scsi_error.c block, scsi: move the retries field to struct scsi_request 2017-04-05 12:05:08 -06:00
scsi_ioctl.c scsi: make the sense header argument to scsi_test_unit_ready mandatory 2017-02-22 19:35:24 -05:00
scsi_lib_dma.c
scsi_lib.c scsi: Implement blk_mq_ops.show_rq() 2017-04-26 15:09:04 -06:00
scsi_logging.c
scsi_logging.h
scsi_module.c
scsi_netlink.c
scsi_pm.c
scsi_priv.h scsi: mpt3sas: Avoid sleeping in interrupt context 2017-03-01 21:52:13 -05:00
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c
scsi_sysctl.c
scsi_sysfs.c
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c
scsi_transport_iscsi.c
scsi_transport_sas.c scsi_transport_sas: always pass 0 error to blk_end_request_all 2017-04-26 07:53:29 -06:00
scsi_transport_spi.c scsi: merge __scsi_execute into scsi_execute 2017-02-23 16:57:19 -05:00
scsi_transport_srp.c
scsi_typedefs.h
scsi.c
scsi.h
scsicam.c
sd_dif.c
sd_zbc.c sd: implement REQ_OP_WRITE_ZEROES 2017-04-08 11:25:38 -06:00
sd.c scsi: sd: Remove LBPRZ dependency for discards 2017-04-08 11:25:38 -06:00
sd.h scsi: sd: Separate zeroout and discard command choices 2017-04-08 11:25:38 -06:00
sense_codes.h
ses.c
sg.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
sgiwd93.c
sim710.c
sni_53c710.c
sr_ioctl.c scsi: merge __scsi_execute into scsi_execute 2017-02-23 16:57:19 -05:00
sr_vendor.c
sr.c
sr.h
st_options.h
st.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
st.h
stex.c
storvsc_drv.c Merge remote-tracking branch 'mkp-scsi/4.11/scsi-fixes' into fixes 2017-03-12 09:02:56 -07:00
sun3_scsi_vme.c
sun3_scsi.c
sun3x_esp.c
sun_esp.c
sym53c416.c
sym53c416.h
virtio_scsi.c virtio_scsi: use virtio IRQ affinity 2017-02-27 20:54:06 +02:00
vmw_pvscsi.c scsi: vmw_pvscsi: handle the return value from pci_alloc_irq_vectors correctly 2017-03-06 22:27:33 -05:00
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c
zorro7xx.c