atomic file operations

Artem B. Bityuckiy dedekind at infradead.org
Fri Mar 25 03:18:40 EST 2005


On Thu, 2005-03-24 at 22:00 +0000, David Woodhouse wrote:
> On Thu, 2005-03-24 at 13:53 +0300, Artem B. Bityuckiy wrote:
> > then you have the guarantee that you either have written all or 
> > nowthing. JFFS2 does guarantee that due to its implementation.
> 
> JFFS2 might happen to _do_ that due to its implementation, but it's not
> a guarantee. POSIX doesn't require that writes are atomic w.r.t power
> failure.

Absolutely. I've noted that this is just happens to be owing to JFFS2's
implementation. Nothing else.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.





More information about the linux-mtd mailing list