Re: ext3: kjournald and spun-down disks

Andrew Morton (akpm@zip.com.au)
Sun, 25 Nov 2001 19:34:29 -0800


Oliver Xymoron wrote:
>
> Ok, so what's the theory behind the journal timer? Why would we want
> ext3 journal flushed more or less often than ext2 metadata given that
> they're of equivalent importance?

umm, err.. If your machine crashes, ext3 will restore its state
to that which pertained between zero and five seconds before the crash.

With ext2+fsck, things are not as clear. Your data will be restored
to that which pertained from zero to thirty seconds prior to crash.
inodes and superblock to that which pertained from zero to thirty
five seconds before the crash, stuff like that.

A five second window is short enough for you to be confident that
everything you want is still there. With thirty seconds, uncertainty
creeps in.

Yes, it needs to be configurable.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/