On Thu, Jan 6, 2011 at 1:54 AM, Ted Ts'o <[email protected]> wrote:
>> I was thinking, doesn't ext have this kind of dependency tracking already?
>> It has to write the inode after writing the data, otherwise the inode
>> might point to garbage.
>
> No, it doesn't.  We use journaling, and forced data writeouts, to
> ensure consistency.

Suppose I append one byte to an existing file, I don't use fsync.
Will it commit the inode with the increased size before the data byte
is written?
In that case, garbage might show up in my file.

Olaf


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to