From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.thunk.org ([74.207.234.97]:35328 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932365AbaLBVBl (ORCPT ); Tue, 2 Dec 2014 16:01:41 -0500 Date: Tue, 2 Dec 2014 16:01:19 -0500 From: "Theodore Ts'o" To: Andreas Dilger Cc: Boaz Harrosh , Jan Kara , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, xfs@oss.sgi.com Subject: Re: [PATCH-v5 1/5] vfs: add support for a lazytime mount option Message-ID: <20141202210119.GD13618@thunk.org> References: <1417154411-5367-1-git-send-email-tytso@mit.edu> <1417154411-5367-2-git-send-email-tytso@mit.edu> <20141128172323.GD738@quack.suse.cz> <20141128181421.GA19461@google.com> <20141202125820.GE9092@quack.suse.cz> <547DFD24.9070805@plexistor.com> <20141202192337.GA13618@thunk.org> <0CAF91FD-F713-4E98-8967-9CA0390CA784@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <0CAF91FD-F713-4E98-8967-9CA0390CA784@dilger.ca> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, Dec 02, 2014 at 01:37:27PM -0700, Andreas Dilger wrote: > > One thing that comes to mind is touch/utimes()/utimensat(). Those > should definitely not result in timestamps being kept only in memory > for 24h, since the whole point of those calls is to update the times. > It makes sense for these APIs to dirty the inode for proper writeout. Not a problem. Touch/utimes* go through notify_change() and ->setattr, so they won't go through the I_DIRTY_TIME code path. - Ted