xref: /illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/reservation.cfg (revision 5801b0f01c3c34499a929ed96164a5a68b470945)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# Copyright (c) 2013 by Delphix. All rights reserved.
29# Copyright 2019 Joyent, Inc.
30#
31
32export RESV_DELTA=10485760	# Amount of space (10MB) to leave unreserved
33export RESV_TOLERANCE=10485760	# Margin of error (10MB) for reservations
34export RESV_SIZE=52428800	# Default reservation size (50MB)
35export RESV_FREE_SPACE=52428800	# Amount of space (50MB) to leave free in a pool
36export RESV_NUM_FS=10		# Number of filesystems to create
37export RESV_ITER=10		# Number of iterations
38
39export BLOCK_SIZE=1048576
40export ENOSPC=28
41
42export TESTVOL=testvol$$
43export TESTVOL2=testvol2-$$
44export TESTFILE1=file1.$$
45export TESTFILE2=file2.$$
46