The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/config/kernel-commit-metadata.m4

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 dnl #
    2 dnl # 2.6.33 API change
    3 dnl # Added eops->commit_metadata() callback to allow the underlying
    4 dnl # filesystem to determine the most efficient way to commit the inode.
    5 dnl # Prior to this the nfs server would issue an explicit fsync().
    6 dnl #
    7 AC_DEFUN([ZFS_AC_KERNEL_SRC_COMMIT_METADATA], [
    8         ZFS_LINUX_TEST_SRC([export_operations_commit_metadata], [
    9                 #include <linux/exportfs.h>
   10                 int commit_metadata(struct inode *inode) { return 0; }
   11                 static struct export_operations eops __attribute__ ((unused))={
   12                         .commit_metadata = commit_metadata,
   13                 };
   14         ],[])
   15 ])
   16 
   17 AC_DEFUN([ZFS_AC_KERNEL_COMMIT_METADATA], [
   18         AC_MSG_CHECKING([whether eops->commit_metadata() exists])
   19         ZFS_LINUX_TEST_RESULT([export_operations_commit_metadata], [
   20                 AC_MSG_RESULT(yes)
   21         ],[
   22                 ZFS_LINUX_TEST_ERROR([eops->commit_metadata()])
   23         ])
   24 ])

Cache object: 318f45cd9fce3babdca7322d75739630


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.