Re: laptops and journalling filesystems

From: Andrew Morton (akpm@zip.com.au)
Date: Mon Jul 30 2001 - 22:30:10 EST


Tony Lill wrote:
>
> Do any of the current batch of journalling filesystems NOT diddle the
> disk every 5 seconds? I've tried reiser and ext3 and they're both
> antithetic to spinning down the disk. Any plans to fix this bug in
> future kernels?

If you mount everything with `noatime' there's nothing to
be written unless you're writing stuff.

Unfortunately ext3 defeats the trick of setting the kupdate
interval to something huge. On my list of things-to-do.

Probably it's as simple as setting the commit timer to
a large interval (grep for "HZ" in fs/jbd/journal.c).

Commits are driven by either a timer expiry or by the
journal getting too full. If the interval is set large
then probably journal-full will be the main reason for
running a commit.

Of course, if the interval is set to 15 minutes and
you crash, you'll lose up to 15 minutes' work.

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



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:49 EST