]> err.no Git - linux-2.6/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)
commit47ae32d6a54955a041cdc30b06d0bb16e75f68d5
treeb28623f98ae536342d35443c6548c373df342e7f
parentb227613841d4d211a10c5860acc73e133b613bc0
[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