mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-28 17:39:23 +03:00
OpenZFS 7431 - ZFS Channel Programs
Authored by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org> Ported-by: Don Brady <don.brady@delphix.com> Ported-by: John Kennedy <john.kennedy@delphix.com> 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
This commit is contained in:
committed by
Brian Behlendorf
parent
8824a7f133
commit
d99a015343
@@ -1,5 +1,6 @@
|
||||
src = @abs_top_srcdir@/module/zfs
|
||||
obj = @abs_builddir@
|
||||
target_cpu = @target_cpu@
|
||||
|
||||
MODULE := zfs
|
||||
|
||||
@@ -7,6 +8,11 @@ obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||
|
||||
ccflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_MODULE_CPPFLAGS)
|
||||
|
||||
# Suppress unused-value warnings in sparc64 architecture headers
|
||||
ifeq ($(target_cpu),sparc64)
|
||||
ccflags-y += -Wno-unused-value
|
||||
endif
|
||||
|
||||
# Suppress unused but set variable warnings often due to ASSERTs
|
||||
ccflags-y += $(NO_UNUSED_BUT_SET_VARIABLE)
|
||||
|
||||
@@ -86,6 +92,11 @@ $(MODULE)-objs += vdev_root.o
|
||||
$(MODULE)-objs += zap.o
|
||||
$(MODULE)-objs += zap_leaf.o
|
||||
$(MODULE)-objs += zap_micro.o
|
||||
$(MODULE)-objs += zcp.o
|
||||
$(MODULE)-objs += zcp_get.o
|
||||
$(MODULE)-objs += zcp_global.o
|
||||
$(MODULE)-objs += zcp_iter.o
|
||||
$(MODULE)-objs += zcp_synctask.o
|
||||
$(MODULE)-objs += zfeature.o
|
||||
$(MODULE)-objs += zfs_acl.o
|
||||
$(MODULE)-objs += zfs_byteswap.o
|
||||
|
||||
Reference in New Issue
Block a user