[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070817004544.GA27058@redhat.com>
Date: Thu, 16 Aug 2007 20:45:44 -0400
From: Dave Jones <davej@...hat.com>
To: Theodore Tso <tytso@....edu>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/23] per device dirty throttling -v8
On Sun, Aug 05, 2007 at 11:00:29AM -0400, Theodore Tso wrote:
> P.S. Yet alternative is to specify noatime on an individual
> file/directory basis. We've had this capability for a *long* time,
> and if a distro were to set noatime for all files in certain
> hierarchies (i.e., /usr/include) and certain top-level directories
> (since the chattr +A flag is inherited)
This came across my mind again earlier, and I went digging.
Can you explain how this works?
I've eyeballed the ext2/ext3 code, and feel like I'm missing something obvious.
I'm guessing that for eg, with /usr/include/stdio.h, we check the inodes
for all four parts of path, and if any of them are +A we avoid the
atime update ? If so, where does that inheritance happen in the code?
Dave
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists