aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_onexit.c
diff options
context:
space:
mode:
authorAlek P <[email protected]>2019-04-11 10:20:37 -0700
committerBrian Behlendorf <[email protected]>2019-04-11 10:20:37 -0700
commitb31cf30a155d10e6f4a6dc4941e5b4720c4f2daf (patch)
tree386392c225b81c9d4157ca593e576efee68d45f6 /module/zfs/zfs_onexit.c
parent48ed0f9da0389f3ad44e494b00055c8563f961a1 (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/zfs_onexit.c')
0 files changed, 0 insertions, 0 deletions