From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dilger Subject: Re: [PATCH v4] relatime: Make relatime smarter Date: Thu, 27 Nov 2008 15:08:39 -0700 Message-ID: <20081127220839.GK3186@webber.adilger.int> References: <20081126195457.GA3541@srcf.ucam.org> <20081126195824.GB3541@srcf.ucam.org> <492DD035.5020705@oracle.com> <20081127150126.GA20941@srcf.ucam.org> <20081127150341.GB20941@srcf.ucam.org> <20081127163535.775729bf@lxorguk.ukuu.org.uk> <20081127164754.GC22963@srcf.ucam.org> <20081127165929.GA23366@srcf.ucam.org> <20081127170615.GB14991@infradead.org> <20081127175813.GA24354@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Cc: Christoph Hellwig , Alan Cox , Randy Dunlap , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, mingo@redhat.com, val.henson@gmail.com, matthew@wil.cx To: Matthew Garrett Return-path: Received: from sca-es-mail-2.Sun.COM ([192.18.43.133]:59562 "EHLO sca-es-mail-2.sun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbYK0WIv (ORCPT ); Thu, 27 Nov 2008 17:08:51 -0500 In-reply-to: <20081127175813.GA24354@srcf.ucam.org> Content-disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Nov 27, 2008 17:58 +0000, Matthew Garrett wrote: > + relatime_interval= > + [FS] relative atime update frequency, in seconds. > + (default: 1 day: 86400 seconds) The one problem with a 1-day default is that cron jobs like updatedb will revert to updating the atime on every single file every day. It would be better to make it slightly more than 1 day (e.g. 25h) to avoid this and at least defer atime updates to every other day for files that are not otherwise accessed except by cron. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.