[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C057B68.9040205@oracle.com>
Date: Tue, 01 Jun 2010 14:28:08 -0700
From: Sunil Mushran <sunil.mushran@...cle.com>
To: Eric Sandeen <sandeen@...hat.com>
CC: tytso@....edu, "H. Peter Anvin" <hpa@...or.com>,
linux-ext4@...r.kernel.org, Joel Becker <Joel.Becker@...cle.com>,
Mark Fasheh <mfasheh@...e.com>
Subject: Re: e4defrag and immutable files
On 06/01/2010 02:00 PM, Eric Sandeen wrote:
> tytso@....edu wrote:
>
>> On Tue, Jun 01, 2010 at 12:32:29PM -0700, Sunil Mushran wrote:
>>
>>> We (ocfs2) are looking to add a new attribute to denote files that
>>> have a fixed allocation on disk. But at the same time, allow writes
>>> that do not change the allocation on disk. No truncating, extending,
>>> filling holes, etc. We were thinking of calling it "Static" files.
>>>
>> That's an interesting set of semantics, and it might make sense to
>> conflate that with a local disk "don't move or defrag" the file
>> option. I'm not crazy with the name "static", since it could mean a
>> number of other things in other contexts, but I admit I can't think of
>> a better name.
>>
>> - Ted
>>
> fixed-mapping files maybe?
>
We had thought of the term static because we wanted the inode to
be frozen. Entire metadata including the mapping. Our aim is to
do away with cluster locks for such inodes. For ios, we were planning
to limit it to only odirect and not change the mtime. That also means
no links, touch. Yes, "static" does not fit it like a glove but that's the
best we could come up with.
Sunil
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists