diff options
author | Nathan Lynch | 2020-12-07 15:51:46 -0600 |
---|---|---|
committer | Michael Ellerman | 2020-12-08 21:40:58 +1100 |
commit | aeca35b9a52b0e0d019a5244fbaab699f753b443 (patch) | |
tree | e818c586ecbe1461c16370566656122dd74e4bd9 /fs/ocfs2/export.h | |
parent | 37cddc7d6cf4568a7fb69aeff6f26e4c8a3bc0f7 (diff) |
powerpc/pseries/mobility: retry partition suspend after error
This is a mitigation for the relatively rare occurrence where a
virtual IOA can be in a transient state that prevents the
suspend/migration from succeeding, resulting in an error from
ibm,suspend-me.
If the join/suspend sequence returns an error, it is acceptable to
retry as long as the VASI suspend session state is still
"Suspending" (i.e. the platform is still waiting for the OS to
suspend).
Retry a few times on suspend failure while this condition holds,
progressively increasing the delay between attempts. We don't want to
retry indefinitey because firmware emits an error log event on each
unsuccessful attempt.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-15-nathanl@linux.ibm.com
Diffstat (limited to 'fs/ocfs2/export.h')
0 files changed, 0 insertions, 0 deletions