]> git.proxmox.com Git - mirror_zfs.git/commit
Implement relatime.
authorTim Chase <tim@chase2k.com>
Sat, 18 Jan 2014 19:00:53 +0000 (13:00 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 29 Jan 2014 23:50:44 +0000 (15:50 -0800)
commit6d111134c0d1eb9b179eb9fddf26a31d5d45ae22
tree58b2ef03d95ddcc6721574651ea223e7150c1763
parent2278381ce2a820afe76dd9650298858d7037a01b
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 <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2064
Closes #1917
include/sys/fs/zfs.h
include/sys/zfs_vfsops.h
lib/libzfs/libzfs_dataset.c
man/man8/zfs.8
module/zcommon/zfs_prop.c
module/zfs/zfs_vfsops.c
module/zfs/zfs_znode.c