aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2011-11-29 01:11:33 +0000
committerJames Bottomley <[email protected]>2012-02-19 19:57:01 +0000
commite500a34b0257def5b9ec07563afeeada1ead87bb (patch)
tree8f504dd4f97ca52f683ee058dfabfb5b859731d5 /drivers/scsi/libsas/sas_init.c
parent[SCSI] libsas: use ->set_dmamode to notify lldds of NCQ parameters (diff)
downloadkernel-e500a34b0257def5b9ec07563afeeada1ead87bb.tar.gz
kernel-e500a34b0257def5b9ec07563afeeada1ead87bb.zip
[SCSI] libsas: kill invocation of scsi_eh_finish_cmd from sas_ata_task_done
Prior to the conversion to the new-style libata-eh sas_ata_task_done() may have been the last opportunity to clean up the scmd, but now libata-eh explicitly handles this case. It also races against sas-eh. If a lldd completes a task after SAS_TASK_STATE_ABORTED is set it could trigger a spurious decrement of shost->host_failed. Current lldds have the band-aid of checking SAS_TASK_STATE_ABORTED before calling ->task_done(), but better to just let the scmds escalate to libata for race free cleanup. Signed-off-by: Dan Williams <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions