diff options
author | 2011-11-29 12:08:50 -0800 | |
---|---|---|
committer | 2012-02-19 14:07:15 -0600 | |
commit | 3944f50995f947558c35fb16ae0288354756762c (patch) | |
tree | 59100b5e0a6aaef675bab78a31838356a3554a95 /drivers/scsi/libsas/sas_discover.c | |
parent | [SCSI] libsas: fix timeout vs completion race (diff) | |
download | linux-dev-3944f50995f947558c35fb16ae0288354756762c.tar.xz linux-dev-3944f50995f947558c35fb16ae0288354756762c.zip |
[SCSI] libsas: let libata handle command timeouts
libsas-eh if it successfully aborts an ata command will hide the timeout
condition (AC_ERR_TIMEOUT) from libata. The command likely completes
with the all-zero task->task_status it started with. Instead, interpret
a TMF_RESP_FUNC_COMPLETE as the end of the sas_task but keep the scmd
around for libata-eh to handle.
Tested-by: Andrzej Jakowski <andrzej.jakowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_discover.c')
0 files changed, 0 insertions, 0 deletions