summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/csiostor
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2015-10-21 15:13:21 -0500
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 17:10:38 +0900
commit018d1dc9558e748e271cd1600c698f68cba3fb09 (patch)
tree7e3a85a14b1a516620e222bd13a3e44d24408049 /drivers/scsi/csiostor
parent4392ba49eb248868afb412ea147ab16e2e606d66 (diff)
downloadblackbird-op-linux-018d1dc9558e748e271cd1600c698f68cba3fb09.tar.gz
blackbird-op-linux-018d1dc9558e748e271cd1600c698f68cba3fb09.zip
cxlflash: Fix to avoid stall while waiting on TMF
Borrowing the TMF waitq's spinlock causes a stall condition when waiting for the TMF to complete. To remedy, introduce our own spin lock to serialize TMF and use the appropriate wait services. Also add a timeout while waiting for a TMF completion. When a TMF times out, report back a failure such that a bigger hammer reset can occur. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/csiostor')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud