diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2012-03-10 05:46:46 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2012-05-17 14:33:43 -0700 |
commit | 397497dd61948b0d59d1d21812b93c97b0eeb2dd (patch) | |
tree | f156de22337932cba5d5a4dedbb80bfa0054dd4c /drivers/scsi/isci/init.c | |
parent | 87805162b6af20d2ad386a49aec13b753cca523a (diff) |
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/init.c')
0 files changed, 0 insertions, 0 deletions