Re: replace() system call needed (was Re: EXT4-ish "fixes" in UBIFS)

From: Artem Bityutskiy
Date: Sun Mar 29 2009 - 09:06:50 EST


ext Andreas T.Auer wrote:

On 29.03.2009 14:42 Artem Bityutskiy wrote:
Pavel Machek wrote:

1. truncate/write/close leads to empty files
this is buggy.
In FS, or in application?
In application of course. If you rewrite a huge file that way, you have
a long-time risk of loosing data in a crash, even with sychronous writes.

You know, after reading all these blogs and discussions,
I will not be surprised if someone says this is an FS bug.

--
Best Regards,
Artem Bityutskiy (ÐÑÑÑÐ ÐÐÑÑÑÐÐÐ)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/