Print this page
NEX-10069 ZFS_READONLY is a little too strict
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-9752 backport illumos 6950 ARC should cache compressed data
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
6950 ARC should cache compressed data
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Don Brady <don.brady@intel.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
6248 zpool_create_008_pos and zpool_create_009_neg can fail intermittently
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
5767 fix several problems with zfs test suite
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Gordon Ross <gwr@nexenta.com>
NEX-3974 Remove timing issues so the robot can run consistently
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Josef Sipek <josef.sipek@nexenta.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/test/zfs-tests/include/default.cfg
+++ new/usr/src/test/zfs-tests/include/default.cfg
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
|
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 26
27 27 #
28 28 # Copyright (c) 2012, 2016 by Delphix. All rights reserved.
29 +# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
29 30 #
30 31
31 32 . $STF_SUITE/include/libtest.shlib
32 33
33 34 # Define run length constants
34 35 export RT_LONG="3"
35 36 export RT_MEDIUM="2"
36 37 export RT_SHORT="1"
37 38
38 39 # Define macro for zone test
39 40 export ZONE_POOL="zonepool"
40 41 export ZONE_CTR="zonectr"
41 42
42 43 # ensure we're running in the C locale, since
43 44 # localised messages may result in test failures
44 45 export LC_ALL="C"
45 46 export LANG="C"
46 47
47 48 #
48 49 # pattern to ignore from 'zpool list'.
49 50 #
50 51 export NO_POOLS="no pools available"
51 52
52 53 # pattern to ignore from 'zfs list'.
53 54 export NO_DATASETS="no datasets available"
54 55
55 56 export TEST_BASE_DIR="/"
56 57
57 58 # Default to compression ON
58 59 export COMPRESSION_PROP=on
59 60
60 61 # Default to using the checksum
61 62 export CHECKSUM_PROP=on
62 63
63 64 # some common variables used by test scripts :
64 65 export FIO_SCRIPTS=$STF_SUITE/tests/perf/fio
65 66 export PERF_SCRIPTS=$STF_SUITE/tests/perf/scripts
66 67
67 68 # some test pool names
68 69 export TESTPOOL=testpool
69 70 export TESTPOOL1=testpool1
70 71 export TESTPOOL2=testpool2
71 72 export TESTPOOL3=testpool3
72 73 export PERFPOOL=perfpool
73 74
74 75 # some test file system names
75 76 export TESTFS=testfs
76 77 export TESTFS1=testfs1
77 78 export TESTFS2=testfs2
78 79 export TESTFS3=testfs3
79 80
80 81 # some test directory names
81 82 export TESTDIR=${TEST_BASE_DIR%%/}/testdir
82 83 export TESTDIR0=${TEST_BASE_DIR%%/}/testdir0
83 84 export TESTDIR1=${TEST_BASE_DIR%%/}/testdir1
84 85 export TESTDIR2=${TEST_BASE_DIR%%/}/testdir2
85 86
86 87 # some test sub file system names
87 88 export TESTSUBFS=subfs
88 89 export TESTSUBFS1=subfs1
89 90 export TESTSUBFS2=subfs2
90 91
91 92 export ZFSROOT=
92 93
93 94 export TESTSNAP=testsnap
94 95 export TESTSNAP1=testsnap1
95 96 export TESTSNAP2=testsnap2
96 97 export TESTCLONE=testclone
97 98 export TESTCLONE1=testclone1
98 99 export TESTCLONE2=testclone2
99 100 export TESTCLCT=testclct
100 101 export TESTCTR=testctr
101 102 export TESTCTR1=testctr1
102 103 export TESTCTR2=testctr2
103 104 export TESTVOL=testvol
104 105 export TESTVOL1=testvol1
105 106 export TESTVOL2=testvol2
106 107 export TESTFILE0=testfile0
107 108 export TESTFILE1=testfile1
108 109 export TESTFILE2=testfile2
109 110 export TESTBKMARK=testbkmark
110 111
111 112 export LONGPNAME="poolname50charslong_012345678901234567890123456789"
|
↓ open down ↓ |
73 lines elided |
↑ open up ↑ |
112 113 export LONGFSNAME="fsysname50charslong_012345678901234567890123456789"
113 114 export SNAPFS="$TESTPOOL/$TESTFS@$TESTSNAP"
114 115 export SNAPFS1="$TESTPOOL/$TESTVOL@$TESTSNAP"
115 116
116 117 export VOLSIZE=150m
117 118 export BIGVOLSIZE=1eb
118 119
119 120 # Default to limit disks to be checked
120 121 export MAX_FINDDISKSNUM=6
121 122
123 +# Default to determine the time to sleep before retrying a zpool destroy
124 +export DESTROY_SLEEP_TIME=10
125 +
126 +# Default to determine the time to sleep before retrying a zpool export
127 +export EXPORT_SLEEP_TIME=10
128 +
129 +# Default to determine the number of times to retry a command
130 +export NUM_RETRIES=7
131 +
122 132 # Default minimum size for file based vdevs in the test suite
123 133 export MINVDEVSIZE=$((256 * 1024 * 1024))
124 134
125 135 # Minimum vdev size possible as defined in the OS
126 136 export SPA_MINDEVSIZE=$((64 * 1024 * 1024))
127 137
128 138 export AUTO_SNAP=$(svcs -a | grep auto-snapshot | grep online | awk \
129 139 '{print $3}')
130 140
131 141 # finally, if we're running in a local zone
132 142 # we take some additional actions
133 143 if ! is_global_zone; then
134 144 reexport_pool
135 145 fi
136 146
137 147 export ZFS_VERSION=5
138 148 export ZFS_ALL_VERSIONS="1 2 3 4 5"
139 149
140 150 for i in $ZFS_ALL_VERSIONS; do
141 151 eval 'export ZFS_VERSION_$i="v${i}-fs"'
142 152 done
|
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX