Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750737AbWHIM60 (ORCPT ); Wed, 9 Aug 2006 08:58:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750739AbWHIM60 (ORCPT ); Wed, 9 Aug 2006 08:58:26 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:16293 "EHLO e34.co.us.ibm.com") by vger.kernel.org with ESMTP id S1750737AbWHIM6Z (ORCPT ); Wed, 9 Aug 2006 08:58:25 -0400 Subject: Re: [RFC] [PATCH] Relative lazy atime From: Dave Kleikamp To: =?ISO-8859-1?Q?J=F6rn?= Engel Cc: Valerie Henson , Matthew Wilcox , dean gaudet , David Lang , Mark Fasheh , Chris Wedgwood , Arjan van de Ven , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Akkana Peck , Jesse Barnes , jsipek@cs.sunysb.edu, Al Viro In-Reply-To: <20060809122134.GF27863@wohnheim.fh-wedel.de> References: <20060803063622.GB8631@goober> <20060805122537.GA23239@lst.de> <1154797123.12108.6.camel@kleikamp.austin.ibm.com> <1154797475.3054.79.camel@laptopd505.fenrus.org> <20060805183609.GA7564@tuatara.stupidest.org> <20060805222247.GQ29686@ca-server1.us.oracle.com> <20060806030147.GG4379@parisc-linux.org> <20060809063947.GA13474@goober> <20060809122134.GF27863@wohnheim.fh-wedel.de> Content-Type: text/plain; charset=ISO-8859-1 Date: Wed, 09 Aug 2006 07:58:20 -0500 Message-Id: <1155128301.10228.2.camel@kleikamp.austin.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 36 On Wed, 2006-08-09 at 14:21 +0200, J?rn Engel wrote: > 1. standard > Every read access to a file/directory causes an atime update. > > 2. nodiratime > Every read access to a non-directory causes an atime update. > > 3. lazy atime > The first read access to a file/directory causes an atime update. > > 4. noatime > No read access to a file/directory causes an atime update. > > In comparison, lazy atime will cause more atime updates for > directories and vastly fewer for non-directories. Using nodiratime and lazy atime together would probably be the best option for those that only want atime for mutt/shell mail notification. > Effectively atime > is turned into little more than a flag, stating whether the file was > ever read since the last write to it. And it appears as if neither > mutt nor the shell use atime for more than this flagging purpose, so I > am rather fond of the idea. > > J?rn > -- David Kleikamp IBM Linux Technology Center - 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/