Re: ext3: kjournald and spun-down disks

Andrew Morton (akpm@zip.com.au)
Fri, 23 Nov 2001 18:32:42 -0800


Oliver Xymoron wrote:
>
> > Tell me if this is joyful:
>
> Haven't tried it yet, but I'm afraid I don't see what makes it actually
> sync with the dirty buffer flush. Wouldn't it be better to export a chain
> of flush funcs hung off a timer?

It doesn't sync with kupdate.

If you want to do that, just defeat the journal timer altogether. So:

transaction->t_expires = jiffies + 1000000000;

in get_transaction(). That way, kupdate's write_super() will
run a commit every bdf_prm.b_un.interval jiffies.

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