From d99a015343425a1c856c900aa8223016400ac2dc Mon Sep 17 00:00:00 2001 From: Chris Williamson Date: Thu, 8 Feb 2018 09:16:23 -0700 Subject: OpenZFS 7431 - ZFS Channel Programs Authored by: Chris Williamson Reviewed by: Matthew Ahrens Reviewed by: George Wilson Reviewed by: John Kennedy Reviewed by: Dan Kimmel Approved by: Garrett D'Amore Ported-by: Don Brady Ported-by: John Kennedy OpenZFS-issue: https://www.illumos.org/issues/7431 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/dfc11533 Porting Notes: * The CLI long option arguments for '-t' and '-m' don't parse on linux * Switched from kmem_alloc to vmem_alloc in zcp_lua_alloc * Lua implementation is built as its own module (zlua.ko) * Lua headers consumed directly by zfs code moved to 'include/sys/lua/' * There is no native setjmp/longjump available in stock Linux kernel. Brought over implementations from illumos and FreeBSD * The get_temporary_prop() was adapted due to VFS platform differences * Use of inline functions in lua parser to reduce stack usage per C call * Skip some ZFS Test Suite ZCP tests on sparc64 to avoid stack overflow --- tests/zfs-tests/include/commands.cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/zfs-tests/include/commands.cfg') diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index e2d0c4162..113b83c75 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -112,6 +112,7 @@ export SYSTEM_FILES='arp sync tail tar + tee timeout touch tr @@ -158,6 +159,7 @@ export ZFSTEST_FILES='chg_usr_exec mktree mmap_exec mmapwrite + nvlist_to_lua randfree_file readmmap rename_dir -- cgit v1.2.3