[Top] [All Lists]

Re: Documenting MS_LAZYTIME

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: Documenting MS_LAZYTIME
From: Theodore Ts'o <tytso@xxxxxxx>
Date: Fri, 20 Feb 2015 21:56:36 -0500
Cc: Michael Kerrisk <mtk.manpages@xxxxxxxxx>, Ext4 Developers List <linux-ext4@xxxxxxxxxxxxxxx>, Linux btrfs Developers List <linux-btrfs@xxxxxxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx>, linux-man@xxxxxxxxxxxxxxx, Linux-Fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Linux API <linux-api@xxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=fFzKaOxz2WvXsvM8899XCK0oXtDU74B9Kvrj+7q9s7Y=; b=sWqhuntVl92FFFyM0qzq0FcHvTon2+R2ityF4z4CXY0UvxMpYdnmCUqYM+WN80uI6Xdcw3Uu2K9OYdiA/g4lR6hvoHM9byyGJqrRMEiCy2D8gEN+WOwqYW6X6sNZOnyaZZJrImBoSO+CCZV7DH/npmBoCPmiUd4FbAW33zDnzQ0=;
In-reply-to: <54E7578E.4090809@xxxxxxxxxx>
References: <CAHO5Pa0k7QkV_6BDjwTVxa7LV9tFyN9nGFFcSvOC6HYO08wfrw@xxxxxxxxxxxxxx> <54E7578E.4090809@xxxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
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

<Prev in Thread] Current Thread [Next in Thread>