linux_dsm_epyc7002/drivers/scsi/device_handler
Mike Christie 27db682bf0 [SCSI] scsi_dh_alua: fix stpg sense handling
For the stpg_endio path we are not evaluating the sense. The bug
is that

1. The error value is set to -EIO when there is sense, so we hit the first
error check and always return SCSI_DH_IO.

2. h->senselen is set to zero in submit_stpg. It is not later set to
req->sense_len like in the synchrounous exection paths, so we must
check the req->sense_len field.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-09 20:55:21 -07:00
..
Kconfig drivers/scsi/device_handler: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Makefile [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
scsi_dh_alua.c [SCSI] scsi_dh_alua: fix stpg sense handling 2013-04-09 20:55:21 -07:00
scsi_dh_emc.c [SCSI] scsi_dh_emc: Add a match function for emc device handler 2011-12-15 10:55:00 +04:00
scsi_dh_hp_sw.c [SCSI] scsi_dh_hp_sw: Adding the match function for hp_sw device handler 2011-12-15 10:55:00 +04:00
scsi_dh_rdac.c [SCSI] scsi_dh_rdac : minor return fix for rdac 2012-09-24 12:11:03 +04:00
scsi_dh.c [SCSI] scsi_dh: add scsi_dh_attached_handler_name 2012-07-20 08:58:42 +01:00