Add splat module to zfs.sh script
The splat module is only needed for the spl regression tests. But if we add it to MODULES then 'zfs.sh -u' will be able to unload it if needed, The downside if 'zfs.sh' will always load it but it's overhead is minimal and in a production setting you'll always be doing a 'modprobe zfs' anyway so this is really just for testing.
This commit is contained in:
parent
9662934bd9
commit
1510a95acd
|
@ -74,6 +74,7 @@ KERNEL_MODULES=( \\
|
|||
|
||||
SPL_MODULES=( \\
|
||||
\${SPLBUILD}/spl/spl.ko \\
|
||||
\${SPLBUILD}/splat/splat.ko \\
|
||||
)
|
||||
|
||||
ZFS_MODULES=( \\
|
||||
|
|
|
@ -11,7 +11,7 @@ SCRIPT_CONFIG=.script-config
|
|||
if [ -f "${basedir}/../${SCRIPT_CONFIG}" ]; then
|
||||
. "${basedir}/../${SCRIPT_CONFIG}"
|
||||
else
|
||||
MODULES=(zlib_deflate spl zavl znvpair zunicode zcommon zfs)
|
||||
MODULES=(zlib_deflate spl splat zavl znvpair zunicode zcommon zfs)
|
||||
fi
|
||||
|
||||
PROG="<define PROG>"
|
||||
|
|
Loading…
Reference in New Issue