Re: Journaling pointless with today's hard disks?

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon Nov 26 2001 - 21:41:35 EST


Followup to: <0111261800340R.02001@localhost.localdomain>
By author: Rob Landley <landley@trommello.org>
In newsgroup: linux.dev.kernel
>
> On Monday 26 November 2001 20:23, Ian Stirling wrote:
>
> > > Now a cache large enough to hold 2 full tracks could also hold dozens of
> > > individual sectors scattered around the disk, which could take a full
> > > second to write off and power down. This is a "doctor, it hurts when I
> > > do this" question. DON'T DO THAT.
> >
> > Or, to seek to a journal track, and write the cache to it.
>
> Except that at most you have one seek to write out all the pending cache data
> anyway, so what exactly does seeking to a journal track buy you?
>

It limits the amount you need to seek to exactly one seek.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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 : Fri Nov 30 2001 - 21:00:25 EST