summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-04-01 13:12:06 -0700
committerBrian Behlendorf <[email protected]>2016-04-05 18:55:59 -0700
commit676007719462edf6ae1f0779252b99a0cb86b630 (patch)
tree0bcbc7b414b0668f8bc9fdd0becea8c50a51ceee /include
parent704cd0758a1a4ecef47b0dfa097acd94c8e4f57d (diff)
Make zfs mount according to relatime config in dataset
Also enable lazytime in mount.zfs Signed-off-by: Chunwei Chen <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #4482
Diffstat (limited to 'include')
-rw-r--r--include/sys/mntent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sys/mntent.h b/include/sys/mntent.h
index 7284f05b1..fac751b46 100644
--- a/include/sys/mntent.h
+++ b/include/sys/mntent.h
@@ -68,8 +68,9 @@
#define MNTOPT_NOFAIL "nofail" /* no failure */
#define MNTOPT_RELATIME "relatime" /* allow relative time updates */
#define MNTOPT_NORELATIME "norelatime" /* do not allow relative time updates */
-#define MNTOPT_DFRATIME "strictatime" /* Deferred access time updates */
-#define MNTOPT_NODFRATIME "nostrictatime" /* No Deferred access time updates */
+#define MNTOPT_STRICTATIME "strictatime" /* strict access time updates */
+#define MNTOPT_NOSTRICTATIME "nostrictatime" /* No strict access time updates */
+#define MNTOPT_LAZYTIME "lazytime" /* Defer access time writing */
#define MNTOPT_SETUID "suid" /* Both setuid and devices allowed */
#define MNTOPT_NOSETUID "nosuid" /* Neither setuid nor devices allowed */
#define MNTOPT_OWNER "owner" /* allow owner mount */