]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] relative atime
authorValerie Henson <val_henson@linux.intel.com>
Wed, 13 Dec 2006 08:34:34 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:50 +0000 (09:05 -0800)
commitc4da8d7d16943bea2f5c7ef46f0e4f6aa7b23657
treeb28623f98ae536342d35443c6548c373df342e7f
parentfc5473e6469888989370646ad3066df3e797b531
[PATCH] relative atime

Add "relatime" (relative atime) support.  Relative atime only updates the
atime if the previous atime is older than the mtime or ctime.  Like
noatime, but useful for applications like mutt that need to know when a
file has been read since it was last modified.

A corresponding patch against mount(8) is available at
http://userweb.kernel.org/~akpm/mount-relative-atime.txt

Signed-off-by: Valerie Henson <val_henson@linux.intel.com>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Karel Zak <kzak@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/inode.c
fs/namespace.c
include/linux/fs.h
include/linux/mount.h