Illumos 6033 - arc_adjust() should search MFU lists
[zfs.git] / zfs-script-config.sh.in
blob10d24f027f2f3725c624e3124a33fbe257715b21
1 #!/bin/bash
3 KERNELSRC=@LINUX@
4 KERNELBUILD=@LINUX_OBJ@
5 KERNELSRCVER=@LINUX_VERSION@
6 KERNELMOD=/lib/modules/${KERNELSRCVER}/kernel
8 SPLSRC=@SPL@
9 SPLBUILD=@SPL_OBJ@
10 SPLSRCVER=@SPL_VERSION@
12 SRCDIR=@abs_top_srcdir@
13 BUILDDIR=@abs_top_builddir@
14 LIBDIR=${BUILDDIR}/lib
15 CMDDIR=${BUILDDIR}/cmd
16 MODDIR=${BUILDDIR}/module
17 SCRIPTDIR=${BUILDDIR}/scripts
18 ZPOOLDIR=${BUILDDIR}/scripts/zpool-config
19 ZPIOSDIR=${BUILDDIR}/scripts/zpios-test
20 ZPIOSPROFILEDIR=${BUILDDIR}/scripts/zpios-profile
21 ETCDIR=${SRCDIR}/etc
23 ZDB=${CMDDIR}/zdb/zdb
24 ZFS=${CMDDIR}/zfs/zfs
25 ZINJECT=${CMDDIR}/zinject/zinject
26 ZPOOL=${CMDDIR}/zpool/zpool
27 ZTEST=${CMDDIR}/ztest/ztest
28 ZPIOS=${CMDDIR}/zpios/zpios
30 COMMON_SH=${SCRIPTDIR}/common.sh
31 ZFS_SH=${SCRIPTDIR}/zfs.sh
32 ZPOOL_CREATE_SH=${SCRIPTDIR}/zpool-create.sh
33 ZPIOS_SH=${SCRIPTDIR}/zpios.sh
34 ZPIOS_SURVEY_SH=${SCRIPTDIR}/zpios-survey.sh
36 INTREE=1
37 LDMOD=/sbin/insmod
39 ZED_PIDFILE=@runstatedir@/zed.pid
41 KERNEL_MODULES=( \
42 ${KERNELMOD}/lib/zlib_deflate/zlib_deflate.ko \
43 ${KERNELMOD}/lib/zlib_inflate/zlib_inflate.ko \
46 SPL_MODULES=( \
47 ${SPLBUILD}/module/spl/spl.ko \
48 ${SPLBUILD}/module/splat/splat.ko \
51 ZFS_MODULES=( \
52 ${MODDIR}/avl/zavl.ko \
53 ${MODDIR}/nvpair/znvpair.ko \
54 ${MODDIR}/unicode/zunicode.ko \
55 ${MODDIR}/zcommon/zcommon.ko \
56 ${MODDIR}/zfs/zfs.ko \
59 ZPIOS_MODULES=( \
60 ${MODDIR}/zpios/zpios.ko \
63 MODULES=( \
64 ${SPL_MODULES[*]} \
65 ${ZFS_MODULES[*]} \