diff options
author | Alek P <[email protected]> | 2019-04-11 10:20:37 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-04-11 10:20:37 -0700 |
commit | b31cf30a155d10e6f4a6dc4941e5b4720c4f2daf (patch) | |
tree | 386392c225b81c9d4157ca593e576efee68d45f6 /module/zfs/dmu_recv.c | |
parent | 48ed0f9da0389f3ad44e494b00055c8563f961a1 (diff) |
Allow zfs-tests to recover from hibernation
When a system sleeps during a zfs-test, the time spent
hibernating is counted against the test's runtime even
though the test can't and isn't running.
This patch tries to detect timeouts due to hibernation and
reruns tests that timed out due to system sleeping.
In this version of the patch, the existing behavior of returning
non-zero when a test was killed is preserved. With this patch applied
we still return nonzero and we also automatically rerun the test we
suspect of being killed due to system hibernation.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed by: John Kennedy <[email protected]>
Signed-off-by: Alek Pinchuk <[email protected]>
Closes #8575
Diffstat (limited to 'module/zfs/dmu_recv.c')
0 files changed, 0 insertions, 0 deletions