linux-stable/drivers/scsi/ibmvscsi
Brian King 73ee5d8672 [SCSI] ibmvfc: Fix soft lockup on resume
This fixes a softlockup seen on resume. During resume, the CRQ
must be reenabled. However, the H_ENABLE_CRQ hcall used to do
this may return H_BUSY or H_LONG_BUSY. When this happens, the
caller is expected to retry later. Normally the H_ENABLE_CRQ
succeeds relatively soon. However, we have seen cases where
this can take long enough to see softlockup warnings.
This patch changes a simple loop, which was causing the
softlockup, to a loop at task level which sleeps between
retries rather than simply spinning.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-07-27 12:02:39 -05:00
..
ibmvfc.c [SCSI] ibmvfc: Fix soft lockup on resume 2010-07-27 12:02:39 -05:00
ibmvfc.h [SCSI] ibmvfc: Fix soft lockup on resume 2010-07-27 12:02:39 -05:00
ibmvscsi.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
ibmvscsi.h [SCSI] ibmvscsi: Add suspend/resume support 2010-03-03 18:32:41 +05:30
ibmvstgt.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
iseries_vscsi.c [SCSI] ibmvscsi: Add suspend/resume support 2010-03-03 18:32:41 +05:30
Makefile
rpa_vscsi.c [SCSI] ibmvscsi: Fix oops when an interrupt is pending during probe 2010-07-27 11:53:23 -05:00
viosrp.h [SCSI] ibmvscsi: Add support for capabilities MAD 2009-06-08 18:05:21 -05:00