summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-10 06:46:46 +0100
committerDan Williams <dan.j.williams@intel.com>2012-05-17 23:33:43 +0200
commit397497dd61948b0d59d1d21812b93c97b0eeb2dd (patch)
treef156de22337932cba5d5a4dedbb80bfa0054dd4c /drivers/scsi/isci/request.c
parentisci: Restore the ATAPI device RNC management code. (diff)
downloadlinux-397497dd61948b0d59d1d21812b93c97b0eeb2dd.tar.xz
linux-397497dd61948b0d59d1d21812b93c97b0eeb2dd.zip
isci: Check IDEV_GONE before performing abort path operations.
In the link fail path, set IDEV_GONE for every device on the domain when the last link in the port fails. In the abort path functions like isci_reset_device, make sure that there has not already been a detected domain failure with the device by checking IDEV_GONE, before performing any kind of hard reset, SMP phy control, or TMF operation. The check for IDEV_GONE makes sure that the device in the abort path really has control of the port with which it is associated. This prevents starting hard resets at incorrect times and scheduling unnecessary LUN resets for SATA devices. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/request.c')
0 files changed, 0 insertions, 0 deletions