[ltp] A21m won't park /dev/hda
Tod Harter
linux-thinkpad@www.bm-soft.com
Thu, 15 Nov 2001 15:11:01 -0500
On Wednesday 14 November 2001 16:11, you wrote:
> On Wednesday, 14. November 2001 20:02, Tod Harter wrote:
> > On Tuesday 13 November 2001 18:35, you wrote:
> > > On Tuesday, 13. November 2001 23:02, Tom Allison wrote:
> > > > Tino Keitel wrote:
> > > > > Do you use a journaling FS?
> > > >
> > > > No. Does it help or hurt?
> > >
> > > It definitely hurts.
> >
> > Why? I was thinking about how journaling is implemented and I can't see
> > an INHERENT reason why it would result in more frequent writes to disk
> > (though its true you do end up writing more data in the long run since
> > the journal itself is extra overhead). Not that I doubt the truth of what
> > you say, I'm just curious about the whys and wherefors of it all.
>
> Journaling FSs bypass the linux write cache when they sync the journal to
> disk (this happens at least every 30 seconds) so noflushd can't do its job
> by stopping kupdated. The disk will keep spinning. I tried that with
> reiserFS.
>
Ah, I see. No doubt because they want to do atomic writes to the Journal and
the write cache can't guarantee that. Kind of sounds like the API for the
write cache needs to be enhanced. You should be able to specify "all these
sectors need to be written at one time".
> Tino
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html