diff options
author | 2013-03-05 22:40:24 -0600 | |
---|---|---|
committer | 2013-04-09 20:55:21 -0700 | |
commit | 27db682bf07fdc105af38827dbbd67d6f0a4ae04 (patch) | |
tree | a7339c6e87cabfcd5fa27b0a47611cae93588074 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | [SCSI] pm8001: updated MAINTAINERS list (diff) | |
download | linux-dev-27db682bf07fdc105af38827dbbd67d6f0a4ae04.tar.xz linux-dev-27db682bf07fdc105af38827dbbd67d6f0a4ae04.zip |
[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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions