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 /man | |
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 'man')
-rw-r--r-- | man/man8/zfs.8 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 2c540f059..a45f64085 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -738,7 +738,7 @@ the \fBxattr=sa\fR property. See the \fBxattr\fR property for more details. .ad .sp .6 .RS 4n -Controls whether the access time for files is updated when they are read. Turning this property off avoids producing write traffic when reading files and can result in significant performance gains, though it might confuse mailers and other similar utilities. The default value is \fBon\fR. +Controls whether the access time for files is updated when they are read. Turning this property off avoids producing write traffic when reading files and can result in significant performance gains, though it might confuse mailers and other similar utilities. The default value is \fBon\fR. See also \fBrelatime\fR below. .RE .sp @@ -1025,6 +1025,17 @@ This property can also be referred to by its shortened column name, \fBrefreserv .ne 2 .mk .na +\fB\fBrelatime\fR=\fBon\fR | \fBoff\fR\fR +.ad +.sp .6 +.RS 4n +Controls the manner in which the access time is updated when \fBatime=on\fR is set. Turning this property \fBon\fR causes the access time to be updated relative to the modify or change time. Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours. The default value is \fBoff\fR. +.RE + +.sp +.ne 2 +.mk +.na \fB\fBreservation\fR=\fIsize\fR | \fBnone\fR\fR .ad .sp .6 @@ -3184,6 +3195,7 @@ pool/home/bob usedbyrefreservation 0 - pool/home/bob logbias latency default pool/home/bob dedup off default pool/home/bob mlslabel none default +pool/home/bob relatime off default .fi .in -2 .sp |