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/runfiles/linux.run | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tests/runfiles/linux.run') diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 16c10d41a..184dd2f9e 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -62,6 +62,25 @@ tags = ['functional', 'cachefile'] tests = ['case_all_values', 'norm_all_values'] tags = ['functional', 'casenorm'] +[tests/functional/channel_program/lua_core] +tests = ['tst.args_to_lua', 'tst.divide_by_zero', 'tst.integer_illegal', + 'tst.integer_overflow', 'tst.language_functions_neg', + 'tst.language_functions_pos', 'tst.large_prog', 'tst.memory_limit', + 'tst.nested_neg', 'tst.nested_pos', 'tst.nvlist_to_lua', + 'tst.recursive_neg', 'tst.recursive_pos', 'tst.return_nvlist_neg', + 'tst.return_nvlist_pos', 'tst.return_recursive_table', 'tst.timeout'] +tags = ['functional', 'channel_program', 'lua_core'] + +[tests/functional/channel_program/synctask_core] +tests = ['tst.destroy_fs', 'tst.destroy_snap', 'tst.get_count_and_limit', + 'tst.get_index_props', 'tst.get_mountpoint', 'tst.get_neg', + 'tst.get_number_props', 'tst.get_string_props', 'tst.get_type', + 'tst.get_userquota', 'tst.get_written', 'tst.list_children', + 'tst.list_clones', 'tst.list_snapshots', 'tst.list_system_props', + 'tst.parse_args_neg','tst.promote_conflict', 'tst.promote_multiple', + 'tst.promote_simple'] +tags = ['functional', 'channel_program', 'synctask_core'] + [tests/functional/chattr] tests = ['chattr_001_pos', 'chattr_002_neg'] tags = ['functional', 'chattr'] -- cgit v1.2.3