summaryrefslogtreecommitdiffstats
path: root/fs/dlm/config.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-06-17 13:55:13 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 12:02:39 -0500
commit73ee5d8672871bd69077ca71e7208a36bfa6343c (patch)
tree6494ae5426a54a98ad5f8f6aec4ba58e41003fc4 /fs/dlm/config.h
parent15f7fc060a7bf49991c35b23e1e7d73a1535382a (diff)
[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>
Diffstat (limited to 'fs/dlm/config.h')
0 files changed, 0 insertions, 0 deletions