lkml.org 
[lkml]   [2006]   [Aug]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 3 Aug 2006 02:44:49 -0400
FromJosef Sipek <>
SubjectRe: [RFC] [PATCH] Relative lazy atime
On Wed, Aug 02, 2006 at 11:29:45PM -0700, Valerie Henson wrote:
> My friend Akkana followed my advice to use noatime on one of her
> machines, but discovered that mutt was unusable because it always
> thought that new messages had arrived since the last time it had
> checked a folder (mbox format).  I thought this was a bummer, so I
> wrote a "relative lazy atime" patch which only updates the atime if
> the old atime was less than the ctime or mtime.  This is not the same
> as the lazy atime patch of yore[1], which maintained a list of inodes
> with dirty atimes and wrote them out on unmount.

This also happens to be useful for file systems such as Unionfs and (from
what I hear) ocfs2 where atime updates can be costly at times.

> Patch below.  Current version (plus test program) is at:

Looks fine IMHO.

Josef "Jeff" Sipek.

-- 
I'm somewhere between geek and normal.
		- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-03 08:47    [from the cache]
©2003-2008