Re: New concept of ext3 disk checks

From: Lee Revell
Date: Thu Aug 12 2004 - 16:13:26 EST


On Thu, 2004-08-12 at 14:58, Bernd Eckenfels wrote:

> I am not sure why the softupdates are so reliable, that no fsck is needed

Softupdates were introduced to enhance performance by batching and
deferring disk operations. I belive that initially, performance was the
only consideration in determining what actually got written to disk
when. All the BSD/OS manuals I read at my last job warn against
enabling softupdates because data loss could occur.

Someone later realized that if you batch the disk operations in a way
that considers the atomicity of the filesystem operations being
implemented, softupdates can help *ensure* data integrity. This is a
pretty recent development I think.

Lee

-
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/