Re: The ext3 way of journalling

From: Pavel Machek
Date: Tue Jan 08 2008 - 16:58:21 EST


On Tue 2008-01-08 16:07:27, Tuomo Valkonen wrote:
>
> The ext3 journalling code can be summarised as:
>
> superblock->last_checked = random();
> sync(superblock)
>
> I hate it: every time Linux crashes, e.g. due to power failure, it takes
> almost an hour to boot, because the kernel has decided to corrupt the
> superblock to indicate that it's been years since last file system
> check. And obviously the crappy init system provides no simple way to
> stop the checking, to put it in the background, or whatever. The FOSS

rm /sbin/fsck?

And no, ext3 here does not corrupt last_checked here.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/