From 0c06d385ea5bbe11d20ecea2e02cdc78733d5359 Mon Sep 17 00:00:00 2001 From: jwpoduska Date: Fri, 24 Apr 2020 12:36:43 -0500 Subject: 12636 Prevent unnecessary resilver restarts Reviewed by: Brian Behlendorf Reviewed by: John Gallagher Reviewed by: Kjeld Schouten Reviewed by: John Kennedy Reviewed by: Jerry Jelinek Portions contributed by: Alexander Motin Portions contributed by: Jason King Approved by: Robert Mustacchi --- .../zfs-tests/tests/functional/resilver/setup.ksh | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 usr/src/test/zfs-tests/tests/functional/resilver/setup.ksh (limited to 'usr/src/test/zfs-tests/tests/functional/resilver/setup.ksh') diff --git a/usr/src/test/zfs-tests/tests/functional/resilver/setup.ksh b/usr/src/test/zfs-tests/tests/functional/resilver/setup.ksh new file mode 100755 index 0000000000..4dfa814245 --- /dev/null +++ b/usr/src/test/zfs-tests/tests/functional/resilver/setup.ksh @@ -0,0 +1,31 @@ +#!/bin/ksh -p +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END + +# +# Copyright (c) 2019, Datto Inc. All rights reserved. +# + +. $STF_SUITE/include/libtest.shlib +. $STF_SUITE/tests/functional/resilver/resilver.cfg + +verify_runnable "global" + +log_pass -- cgit v1.2.3