]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libsas: use ->lldd_I_T_nexus_reset for ->eh_bus_reset_handler
authorDan Williams <dan.j.williams@intel.com>
Wed, 1 Feb 2012 09:12:23 +0000 (01:12 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Apr 2012 06:20:49 +0000 (23:20 -0700)
commitd0c35500d72098f566269ebcb870823d4577697d
tree40556f23d5b3df2e093ec7289deb0145f8594c12
parent9e74dfec69125b8204262455d4143b77074c8a45
libsas: use ->lldd_I_T_nexus_reset for ->eh_bus_reset_handler

sas_eh_bus_reset_handler() amounts to sas_phy_reset() without
notification of the reset to the lldd.  If this is triggered from
eh-cmnd recovery there may be sas_tasks for the lldd to terminate, so
->lldd_I_T_nexus_reset is warranted.

Cc: Xiangliang Yu <yuxiangl@marvell.com>
Cc: Luben Tuikov <ltuikov@yahoo.com>
Cc: Jack Wang <jack_wang@usish.com>
Reviewed-by: Jacek Danecki <jacek.danecki@intel.com>
[jacek: modify pm8001_I_T_nexus_reset to return -ENODEV]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/pm8001/pm8001_sas.c