From 6d111134c0d1eb9b179eb9fddf26a31d5d45ae22 Mon Sep 17 00:00:00 2001 From: Tim Chase Date: Sat, 18 Jan 2014 13:00:53 -0600 Subject: Implement relatime. Add the "relatime" property. When set to "on", a file's atime will only be updated if the existing atime at least a day old or if the existing ctime or mtime has been updated since the last access. This behavior is compatible with the Linux "relatime" mount option. Signed-off-by: Tim Chase Signed-off-by: Brian Behlendorf Closes #2064 Closes #1917 --- include/sys/fs/zfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys/fs') diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h index 23303d741..c54721155 100644 --- a/include/sys/fs/zfs.h +++ b/include/sys/fs/zfs.h @@ -147,6 +147,7 @@ typedef enum { ZFS_PROP_SELINUX_FSCONTEXT, ZFS_PROP_SELINUX_DEFCONTEXT, ZFS_PROP_SELINUX_ROOTCONTEXT, + ZFS_PROP_RELATIME, ZFS_NUM_PROPS } zfs_prop_t; -- cgit v1.2.3