diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2012-09-05 21:36:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 12:14:20 -0800 |
commit | 0c46d72c25ddabd39d02ce5d63fc722f59671c1d (patch) | |
tree | e7dc342ff21a4edbb5e34b5817762138ca2acd23 /samples | |
parent | 605e644a5c9a8665b39d544354cfc4aafcefc694 (diff) | |
download | lwn-0c46d72c25ddabd39d02ce5d63fc722f59671c1d.tar.gz lwn-0c46d72c25ddabd39d02ce5d63fc722f59671c1d.zip |
SCSI: isci: Allow SSP tasks into the task management path.
commit 54b46677757ff8d6c282305fc7710f466b63d6dc upstream.
This commit fixes a driver bug for SSP tasks that require task management
in the target after they complete in the SCU hardware. The problem was
manifested in the function "isci_task_abort_task", which tests
to see if the sas_task.lldd_task is non-NULL before allowing task
management; this bug would always NULL lldd_task in the SCU I/O completion
path even if target management was required, which would prevent
task / target manangement from happening.
Note that in the case of SATA/STP targets, error recovery is provided by
the libata error handler which is why SATA/STP device recovery worked
correctly even though SSP handling did not.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Cc: "Dorau, Lukasz" <lukasz.dorau@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions