003 File Manager
Current Path:
/usr/src/sys/contrib/openzfs/config
usr
/
src
/
sys
/
contrib
/
openzfs
/
config
/
📁
..
📄
.gitignore
(96 B)
📄
Abigail.am
(873 B)
📄
Rules.am
(1.77 KB)
📄
Substfiles.am
(1.11 KB)
📄
always-arch.m4
(855 B)
📄
always-compiler-options.m4
(5.25 KB)
📄
always-python.m4
(2.18 KB)
📄
always-pyzfs.m4
(2.84 KB)
📄
always-sed.m4
(539 B)
📄
always-system.m4
(639 B)
📄
ax_code_coverage.m4
(11.69 KB)
📄
ax_python_devel.m4
(11.49 KB)
📄
ax_restore_flags.m4
(881 B)
📄
ax_save_flags.m4
(871 B)
📄
config.awk
(334 B)
📄
config.rpath
(18.14 KB)
📄
deb.am
(2.98 KB)
📄
find_system_library.m4
(2.93 KB)
📄
gettext.m4
(14.14 KB)
📄
host-cpu-c-abi.m4
(20.99 KB)
📄
iconv.m4
(9.47 KB)
📄
intlmacosx.m4
(3.24 KB)
📄
kernel-access-ok-type.m4
(747 B)
📄
kernel-acl.m4
(7.63 KB)
📄
kernel-aio-fsync.m4
(534 B)
📄
kernel-automount.m4
(817 B)
📄
kernel-bdi.m4
(2.12 KB)
📄
kernel-bio.m4
(9.91 KB)
📄
kernel-blk-queue.m4
(8.08 KB)
📄
kernel-blkdev.m4
(8.09 KB)
📄
kernel-block-device-operations.m4
(1.76 KB)
📄
kernel-clear-inode.m4
(1.4 KB)
📄
kernel-commit-metadata.m4
(810 B)
📄
kernel-config-defined.m4
(5.3 KB)
📄
kernel-current-time.m4
(590 B)
📄
kernel-declare-event-class.m4
(1.35 KB)
📄
kernel-dentry-operations.m4
(4.66 KB)
📄
kernel-dirty-inode.m4
(817 B)
📄
kernel-discard-granularity.m4
(568 B)
📄
kernel-encode-fh-inode.m4
(934 B)
📄
kernel-evict-inode.m4
(701 B)
📄
kernel-fallocate.m4
(697 B)
📄
kernel-file-dentry.m4
(653 B)
📄
kernel-file-inode.m4
(533 B)
📄
kernel-fmode-t.m4
(440 B)
📄
kernel-follow-down-one.m4
(576 B)
📄
kernel-fpu.m4
(3.33 KB)
📄
kernel-fst-mount.m4
(951 B)
📄
kernel-fsync.m4
(1.18 KB)
📄
kernel-generic_io_acct.m4
(2.42 KB)
📄
kernel-generic_readlink.m4
(637 B)
📄
kernel-get-disk-and-module.m4
(0 B)
📄
kernel-get-disk-ro.m4
(455 B)
📄
kernel-get-link.m4
(2.95 KB)
📄
kernel-global_page_state.m4
(3.71 KB)
📄
kernel-group-info.m4
(557 B)
📄
kernel-hotplug.m4
(720 B)
📄
kernel-in-compat-syscall.m4
(635 B)
📄
kernel-inode-create.m4
(613 B)
📄
kernel-inode-getattr.m4
(1.29 KB)
📄
kernel-inode-lock.m4
(650 B)
📄
kernel-inode-lookup.m4
(620 B)
📄
kernel-inode-set-flags.m4
(542 B)
📄
kernel-inode-set-iversion.m4
(560 B)
📄
kernel-inode-times.m4
(1.1 KB)
📄
kernel-insert-inode-locked.m4
(541 B)
📄
kernel-is_owner_or_cap.m4
(639 B)
📄
kernel-kmap-atomic-args.m4
(532 B)
📄
kernel-kmem-cache.m4
(1.12 KB)
📄
kernel-kmem.m4
(3.03 KB)
📄
kernel-kstrtoul.m4
(479 B)
📄
kernel-ktime.m4
(1.36 KB)
📄
kernel-kuid-helpers.m4
(611 B)
📄
kernel-kuidgid.m4
(543 B)
📄
kernel-lseek-execute.m4
(744 B)
📄
kernel-make-request-fn.m4
(4.33 KB)
📄
kernel-misc-minor.m4
(885 B)
📄
kernel-mkdir-umode-t.m4
(1 KB)
📄
kernel-mod-param.m4
(789 B)
📄
kernel-objtool.m4
(1.61 KB)
📄
kernel-pde-data.m4
(422 B)
📄
kernel-percpu.m4
(1.51 KB)
📄
kernel-proc-operations.m4
(1.31 KB)
📄
kernel-put-link.m4
(1.54 KB)
📄
kernel-rename.m4
(787 B)
📄
kernel-revalidate-disk-size.m4
(1.14 KB)
📄
kernel-rw.m4
(1.53 KB)
📄
kernel-rwsem.m4
(1.47 KB)
📄
kernel-sched.m4
(2.01 KB)
📄
kernel-security-inode-init.m4
(1.19 KB)
📄
kernel-set-nlink.m4
(450 B)
📄
kernel-setattr-prepare.m4
(748 B)
📄
kernel-sget-args.m4
(609 B)
📄
kernel-show-options.m4
(596 B)
📄
kernel-shrink.m4
(3.96 KB)
📄
kernel-super-userns.m4
(633 B)
📄
kernel-timer.m4
(1.95 KB)
📄
kernel-tmpfile.m4
(636 B)
📄
kernel-totalhigh_pages.m4
(500 B)
📄
kernel-totalram-pages-func.m4
(620 B)
📄
kernel-truncate-setsize.m4
(518 B)
📄
kernel-userns-capabilities.m4
(2.59 KB)
📄
kernel-usleep_range.m4
(608 B)
📄
kernel-vfs-direct_IO.m4
(2.7 KB)
📄
kernel-vfs-fsync.m4
(464 B)
📄
kernel-vfs-getattr.m4
(2.02 KB)
📄
kernel-vfs-iov_iter.m4
(4.97 KB)
📄
kernel-vfs-iterate.m4
(2.23 KB)
📄
kernel-vfs-rw-iterate.m4
(1.93 KB)
📄
kernel-wait.m4
(2.82 KB)
📄
kernel-xattr-handler.m4
(11.09 KB)
📄
kernel-zlib.m4
(931 B)
📄
kernel.m4
(23.74 KB)
📄
lib-ld.m4
(5.24 KB)
📄
lib-link.m4
(31.99 KB)
📄
lib-prefix.m4
(9.43 KB)
📄
mount-helper.m4
(240 B)
📄
nls.m4
(1.2 KB)
📄
pkg.m4
(10.01 KB)
📄
po.m4
(18.39 KB)
📄
progtest.m4
(3.02 KB)
📄
rpm.am
(3.72 KB)
📄
tgz.am
(992 B)
📄
toolchain-simd.m4
(9.44 KB)
📄
user-clock_gettime.m4
(387 B)
📄
user-dracut.m4
(545 B)
📄
user-gettext.m4
(171 B)
📄
user-libaio.m4
(218 B)
📄
user-libblkid.m4
(327 B)
📄
user-libcrypto.m4
(325 B)
📄
user-libexec.m4
(246 B)
📄
user-libtirpc.m4
(990 B)
📄
user-libudev.m4
(457 B)
📄
user-libuuid.m4
(250 B)
📄
user-makedev.m4
(793 B)
📄
user-pam.m4
(1 KB)
📄
user-runstatedir.m4
(208 B)
📄
user-systemd.m4
(1.88 KB)
📄
user-sysvinit.m4
(276 B)
📄
user-udev.m4
(724 B)
📄
user-zlib.m4
(230 B)
📄
user.m4
(1.14 KB)
📄
zfs-build.m4
(16.37 KB)
📄
zfs-meta.m4
(6.68 KB)
Editing: kernel-config-defined.m4
dnl # dnl # Certain kernel build options are not supported. These must be dnl # detected at configure time and cause a build failure. Otherwise dnl # modules may be successfully built that behave incorrectly. dnl # AC_DEFUN([ZFS_AC_KERNEL_CONFIG_DEFINED], [ AS_IF([test "x$cross_compiling" != xyes], [ AC_RUN_IFELSE([ AC_LANG_PROGRAM([ #include "$LINUX/include/linux/license.h" ], [ return !license_is_gpl_compatible( "$ZFS_META_LICENSE"); ]) ], [ AC_DEFINE([ZFS_IS_GPL_COMPATIBLE], [1], [Define to 1 if GPL-only symbols can be used]) ], [ ]) ]) ZFS_AC_KERNEL_SRC_CONFIG_THREAD_SIZE ZFS_AC_KERNEL_SRC_CONFIG_DEBUG_LOCK_ALLOC ZFS_AC_KERNEL_SRC_CONFIG_TRIM_UNUSED_KSYMS ZFS_AC_KERNEL_SRC_CONFIG_ZLIB_INFLATE ZFS_AC_KERNEL_SRC_CONFIG_ZLIB_DEFLATE AC_MSG_CHECKING([for kernel config option compatibility]) ZFS_LINUX_TEST_COMPILE_ALL([config]) AC_MSG_RESULT([done]) ZFS_AC_KERNEL_CONFIG_THREAD_SIZE ZFS_AC_KERNEL_CONFIG_DEBUG_LOCK_ALLOC ZFS_AC_KERNEL_CONFIG_TRIM_UNUSED_KSYMS ZFS_AC_KERNEL_CONFIG_ZLIB_INFLATE ZFS_AC_KERNEL_CONFIG_ZLIB_DEFLATE ]) dnl # dnl # Check configured THREAD_SIZE dnl # dnl # The stack size will vary by architecture, but as of Linux 3.15 on x86_64 dnl # the default thread stack size was increased to 16K from 8K. Therefore, dnl # on newer kernels and some architectures stack usage optimizations can be dnl # conditionally applied to improve performance without negatively impacting dnl # stability. dnl # AC_DEFUN([ZFS_AC_KERNEL_SRC_CONFIG_THREAD_SIZE], [ ZFS_LINUX_TEST_SRC([config_thread_size], [ #include <linux/module.h> ],[ #if (THREAD_SIZE < 16384) #error "THREAD_SIZE is less than 16K" #endif ]) ]) AC_DEFUN([ZFS_AC_KERNEL_CONFIG_THREAD_SIZE], [ AC_MSG_CHECKING([whether kernel was built with 16K or larger stacks]) ZFS_LINUX_TEST_RESULT([config_thread_size], [ AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_LARGE_STACKS, 1, [kernel has large stacks]) ],[ AC_MSG_RESULT([no]) ]) ]) dnl # dnl # Check CONFIG_DEBUG_LOCK_ALLOC dnl # dnl # This is typically only set for debug kernels because it comes with dnl # a performance penalty. However, when it is set it maps the non-GPL dnl # symbol mutex_lock() to the GPL-only mutex_lock_nested() symbol. dnl # This will cause a failure at link time which we'd rather know about dnl # at compile time. dnl # dnl # Since we plan to pursue making mutex_lock_nested() a non-GPL symbol dnl # with the upstream community we add a check to detect this case. dnl # AC_DEFUN([ZFS_AC_KERNEL_SRC_CONFIG_DEBUG_LOCK_ALLOC], [ ZFS_LINUX_TEST_SRC([config_debug_lock_alloc], [ #include <linux/mutex.h> ],[ struct mutex lock; mutex_init(&lock); mutex_lock(&lock); mutex_unlock(&lock); ], [], [ZFS_META_LICENSE]) ]) AC_DEFUN([ZFS_AC_KERNEL_CONFIG_DEBUG_LOCK_ALLOC], [ AC_MSG_CHECKING([whether mutex_lock() is GPL-only]) ZFS_LINUX_TEST_RESULT([config_debug_lock_alloc_license], [ AC_MSG_RESULT(no) ],[ AC_MSG_RESULT(yes) AC_MSG_ERROR([ *** Kernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible *** with the CDDL license and will prevent the module linking stage *** from succeeding. You must rebuild your kernel without this *** option enabled.]) ]) ]) dnl # dnl # Check CONFIG_TRIM_UNUSED_KSYMS dnl # dnl # Verify the kernel has CONFIG_TRIM_UNUSED_KSYMS disabled. dnl # AC_DEFUN([ZFS_AC_KERNEL_SRC_CONFIG_TRIM_UNUSED_KSYMS], [ ZFS_LINUX_TEST_SRC([config_trim_unusued_ksyms], [ #if defined(CONFIG_TRIM_UNUSED_KSYMS) #error CONFIG_TRIM_UNUSED_KSYMS not defined #endif ],[]) ]) AC_DEFUN([ZFS_AC_KERNEL_CONFIG_TRIM_UNUSED_KSYMS], [ AC_MSG_CHECKING([whether CONFIG_TRIM_UNUSED_KSYM is disabled]) ZFS_LINUX_TEST_RESULT([config_trim_unusued_ksyms], [ AC_MSG_RESULT([yes]) ],[ AC_MSG_RESULT([no]) AS_IF([test "x$enable_linux_builtin" != xyes], [ AC_MSG_ERROR([ *** This kernel has unused symbols trimming enabled, please disable. *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set.]) ]) ]) ]) dnl # dnl # Check CONFIG_ZLIB_INFLATE dnl # dnl # Verify the kernel has CONFIG_ZLIB_INFLATE support enabled. dnl # AC_DEFUN([ZFS_AC_KERNEL_SRC_CONFIG_ZLIB_INFLATE], [ ZFS_LINUX_TEST_SRC([config_zlib_inflate], [ #if !defined(CONFIG_ZLIB_INFLATE) && \ !defined(CONFIG_ZLIB_INFLATE_MODULE) #error CONFIG_ZLIB_INFLATE not defined #endif ],[]) ]) AC_DEFUN([ZFS_AC_KERNEL_CONFIG_ZLIB_INFLATE], [ AC_MSG_CHECKING([whether CONFIG_ZLIB_INFLATE is defined]) ZFS_LINUX_TEST_RESULT([config_zlib_inflate], [ AC_MSG_RESULT([yes]) ],[ AC_MSG_RESULT([no]) AC_MSG_ERROR([ *** This kernel does not include the required zlib inflate support. *** Rebuild the kernel with CONFIG_ZLIB_INFLATE=y|m set.]) ]) ]) dnl # dnl # Check CONFIG_ZLIB_DEFLATE dnl # dnl # Verify the kernel has CONFIG_ZLIB_DEFLATE support enabled. dnl # AC_DEFUN([ZFS_AC_KERNEL_SRC_CONFIG_ZLIB_DEFLATE], [ ZFS_LINUX_TEST_SRC([config_zlib_deflate], [ #if !defined(CONFIG_ZLIB_DEFLATE) && \ !defined(CONFIG_ZLIB_DEFLATE_MODULE) #error CONFIG_ZLIB_DEFLATE not defined #endif ],[]) ]) AC_DEFUN([ZFS_AC_KERNEL_CONFIG_ZLIB_DEFLATE], [ AC_MSG_CHECKING([whether CONFIG_ZLIB_DEFLATE is defined]) ZFS_LINUX_TEST_RESULT([config_zlib_deflate], [ AC_MSG_RESULT([yes]) ],[ AC_MSG_RESULT([no]) AC_MSG_ERROR([ *** This kernel does not include the required zlib deflate support. *** Rebuild the kernel with CONFIG_ZLIB_DEFLATE=y|m set.]) ]) ])
Upload File
Create Folder