From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.thunk.org ([74.207.234.97]:57398 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755820AbbBUH51 (ORCPT ); Sat, 21 Feb 2015 02:57:27 -0500 Date: Fri, 20 Feb 2015 21:56:36 -0500 From: "Theodore Ts'o" To: Eric Sandeen Cc: Michael Kerrisk , Ext4 Developers List , Linux btrfs Developers List , XFS Developers , linux-man@vger.kernel.org, Linux-Fsdevel , Linux API Subject: Re: Documenting MS_LAZYTIME Message-ID: <20150221025636.GB7922@thunk.org> References: <54E7578E.4090809@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <54E7578E.4090809@redhat.com> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Fri, Feb 20, 2015 at 09:49:34AM -0600, Eric Sandeen wrote: > > > This mount option significantly reduces writes to the > > inode table for workloads that perform frequent random > > writes to preallocated files. > > This seems like an overly specific description of a single workload out > of many which may benefit, but what do others think? "inode table" is also > fairly extN-specific. How about somethign like "This mount significantly reduces writes needed to update the inode's timestamps, especially mtime and actime. Examples of workloads where this could be a large win include frequent random writes to preallocated files, as well as cases where the MS_STRICTATIME mount option is enabled."? (The advantage of MS_STRICTATIME | MS_LAZYTIME is that stat system calls will return the correctly updated atime, but those atime updates won't get flushed to disk unless the inode needs to be updated for file system / data consistency reasons, or when the inode is pushed out of memory, or when the file system is unmounted.) - Ted