diff options
author | Tim Chase <[email protected]> | 2014-01-18 13:00:53 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-01-29 15:50:44 -0800 |
commit | 6d111134c0d1eb9b179eb9fddf26a31d5d45ae22 (patch) | |
tree | 58b2ef03d95ddcc6721574651ea223e7150c1763 /include/sys/fs | |
parent | 2278381ce2a820afe76dd9650298858d7037a01b (diff) |
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2064
Closes #1917
Diffstat (limited to 'include/sys/fs')
-rw-r--r-- | include/sys/fs/zfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |