mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
libspl: implement ZFS_MODULE_PARAM for userspace
For each tunable declaration, we create a zfs_tunable_t with its details, and then a pointer to it in the 'zfs_tunables' ELF section, that we can access later with a little support from the linker. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17537
This commit is contained in:
committed by
Brian Behlendorf
parent
3a494c6d2a
commit
967ce75669
@@ -20,6 +20,7 @@ libspl_la_SOURCES = \
|
||||
%D%/strlcat.c \
|
||||
%D%/strlcpy.c \
|
||||
%D%/timestamp.c \
|
||||
%D%/tunables.c \
|
||||
%D%/include/sys/list.h \
|
||||
%D%/include/sys/list_impl.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user