]> git.proxmox.com Git - mirror_zfs.git/blame - zfs-script-config.sh.in
zfs_arc_num_sublists_per_state should be common to all multilists
[mirror_zfs.git] / zfs-script-config.sh.in
CommitLineData
6bb24f4d
BB
1export KERNELSRC=@LINUX@
2export KERNELBUILD=@LINUX_OBJ@
3export KERNELSRCVER=@LINUX_VERSION@
4export KERNELMOD=/lib/modules/${KERNELSRCVER}/kernel
6283f55e 5
6bb24f4d
BB
6export SPLSRC=@SPL@
7export SPLBUILD=@SPL_OBJ@
8export SPLSRCVER=@SPL_VERSION@
6283f55e 9
6bb24f4d
BB
10export SRCDIR=@abs_top_srcdir@
11export BUILDDIR=@abs_top_builddir@
12export LIBDIR=${BUILDDIR}/lib
13export CMDDIR=${BUILDDIR}/cmd
14export MODDIR=${BUILDDIR}/module
15export SCRIPTDIR=${BUILDDIR}/scripts
16export ZPOOLDIR=${BUILDDIR}/scripts/zpool-config
17export ZPIOSDIR=${BUILDDIR}/scripts/zpios-test
18export ZPIOSPROFILEDIR=${BUILDDIR}/scripts/zpios-profile
19export ETCDIR=${SRCDIR}/etc
20export TESTSDIR=${SRCDIR}/tests
21export RUNFILEDIR=${TESTSDIR}/runfiles
f00828e5 22export UDEVRULEDIR=${BUILDDIR}/udev/rules.d
6283f55e 23
6bb24f4d
BB
24export ZDB=${CMDDIR}/zdb/zdb
25export ZFS=${CMDDIR}/zfs/zfs
f00828e5 26export ZHACK=${CMDDIR}/zhack/zhack
6bb24f4d
BB
27export ZINJECT=${CMDDIR}/zinject/zinject
28export ZPOOL=${CMDDIR}/zpool/zpool
29export ZTEST=${CMDDIR}/ztest/ztest
30export ZPIOS=${CMDDIR}/zpios/zpios
62b2d54b 31export RAIDZ_TEST=${CMDDIR}/raidz_test/raidz_test
70c7714d
GDN
32export ARC_SUMMARY=${CMDDIR}/arc_summary/arc_summary.py
33export ARCSTAT=${CMDDIR}/arcstat/arcstat.py
34export DBUFSTAT=${CMDDIR}/dbufstat/dbufstat.py
6283f55e 35
6bb24f4d
BB
36export COMMON_SH=${SCRIPTDIR}/common.sh
37export ZFS_SH=${SCRIPTDIR}/zfs.sh
38export ZPOOL_CREATE_SH=${SCRIPTDIR}/zpool-create.sh
39export ZPIOS_SH=${SCRIPTDIR}/zpios.sh
40export ZPIOS_SURVEY_SH=${SCRIPTDIR}/zpios-survey.sh
6283f55e 41
6bb24f4d 42# Test Suite Specific Commands
2171eb71 43export NOINUSE_CHECK=1
6bb24f4d
BB
44export TEST_RUNNER=${TESTSDIR}/test-runner/cmd/test-runner.py
45export STF_TOOLS=${TESTSDIR}/test-runner
46export STF_SUITE=${TESTSDIR}/zfs-tests
6283f55e 47
6bb24f4d
BB
48export CHG_USR_EXEC=${TESTSDIR}/zfs-tests/cmd/chg_usr_exec/chg_usr_exec
49export DEVNAME2DEVID=${TESTSDIR}/zfs-tests/cmd/devname2devid/devname2devid
50export DIR_RD_UPDATE=${TESTSDIR}/zfs-tests/cmd/dir_rd_update/dir_rd_update
51export FILE_CHECK=${TESTSDIR}/zfs-tests/cmd/file_check/file_check
52export FILE_TRUNC=${TESTSDIR}/zfs-tests/cmd/file_trunc/file_trunc
53export FILE_WRITE=${TESTSDIR}/zfs-tests/cmd/file_write/file_write
54export LARGEST_FILE=${TESTSDIR}/zfs-tests/cmd/largest_file/largest_file
55export MKBUSY=${TESTSDIR}/zfs-tests/cmd/mkbusy/mkbusy
56export MKFILE=${TESTSDIR}/zfs-tests/cmd/mkfile/mkfile
47dfff3b 57export MKFILES=${TESTSDIR}/zfs-tests/cmd/mkfiles/mkfiles
6bb24f4d
BB
58export MKTREE=${TESTSDIR}/zfs-tests/cmd/mktree/mktree
59export MMAP_EXEC=${TESTSDIR}/zfs-tests/cmd/mmap_exec/mmap_exec
60export MMAPWRITE=${TESTSDIR}/zfs-tests/cmd/mmapwrite/mmapwrite
61export RANDFREE_FILE=${TESTSDIR}/zfs-tests/cmd/randfree_file/randfree_file
62export READMMAP=${TESTSDIR}/zfs-tests/cmd/readmmap/readmmap
63export RENAME_DIR=${TESTSDIR}/zfs-tests/cmd/rename_dir/rename_dir
64export RM_LNKCNT_ZERO_FILE=${TESTSDIR}/zfs-tests/cmd/rm_lnkcnt_zero_file/rm_lnkcnt_zero_file
65export THREADSAPPEND=${TESTSDIR}/zfs-tests/cmd/threadsappend/threadsappend
50c957f7 66export XATTRTEST=${TESTSDIR}/zfs-tests/cmd/xattrtest/xattrtest
6283f55e 67
6bb24f4d
BB
68export INTREE=1
69export LDMOD=/sbin/insmod
541a0901 70export GDB="/usr/bin/libtool --mode=execute gdb"
9e246ac3 71
6bb24f4d
BB
72export ZED_PIDFILE=@runstatedir@/zed.pid
73
74export KERNEL_MODULES=( \
6283f55e 75 ${KERNELMOD}/lib/zlib_deflate/zlib_deflate.ko \
cf47fad6 76 ${KERNELMOD}/lib/zlib_inflate/zlib_inflate.ko \
6283f55e
BB
77)
78
6bb24f4d 79export SPL_MODULES=( \
6283f55e
BB
80 ${SPLBUILD}/module/spl/spl.ko \
81 ${SPLBUILD}/module/splat/splat.ko \
82)
83
6bb24f4d 84export ZFS_MODULES=( \
6283f55e
BB
85 ${MODDIR}/avl/zavl.ko \
86 ${MODDIR}/nvpair/znvpair.ko \
87 ${MODDIR}/unicode/zunicode.ko \
88 ${MODDIR}/zcommon/zcommon.ko \
0b04990a 89 ${MODDIR}/icp/icp.ko \
6283f55e
BB
90 ${MODDIR}/zfs/zfs.ko \
91)
92
6bb24f4d 93export ZPIOS_MODULES=( \
6283f55e
BB
94 ${MODDIR}/zpios/zpios.ko \
95)
96
6bb24f4d 97export MODULES=( \
6283f55e
BB
98 ${SPL_MODULES[*]} \
99 ${ZFS_MODULES[*]} \
100)