Re: [PATCH] Laptop-mode v7 for linux 2.6.1

From: Micha Feigin
Date: Wed Feb 11 2004 - 08:03:05 EST


On Wed, Feb 11, 2004 at 07:24:18AM +0100, Jan De Luyck wrote:
> On Tuesday 13 January 2004 12:01, Jens Axboe wrote:
> > On Tue, Jan 13 2004, Jan De Luyck wrote:
> > > On Monday 12 January 2004 15:02, Jens Axboe wrote:
> > > > bo is accounted when io is actually put on the pending queue for the
> > > > disk, so they really do go hand in hand. So you should use block_dump
> > > > to find out why.
> > >
> > > It's nearly always reiserfs that causes the disk to spin up. Also, I'm
> > > seeting the harddisk led light up every 5-7 seconds :-( weird.
> >
> > Does 2.6 laptop mode patch even include the necessary reiser changes to
> > make this work properly?
>
> To followup on this: I've recently moved my entire installation to ext3 (I had
> to RMA the disk, tarred everything up, formatted another disk, put everything
> back but on ext3 this time), on which the laptopmode actually makes a
> difference. I can hear the disk spindown, and it stays that way for a
> reasonably long time (e.g. +- 10 minutes has happened).
>
> So there does seem to be a serious difference between the reiserfs commit
> option and the ext3 option.
>

The reiserfs commit option doesn't work to suppress reiserfs journal
writing to disk. The value that needs to be changes is the transaction
max age instead of the commit max age which is being change now.

This is under work along with adding xfs support and fixing the ext3
commit option (there is no reset to default commit value option at the
moment).

It won't take too long but if anyone is impatient I can send them a
patch to fix reiserfs.

> Just letting you folks know.
>
> Jan
>
> --
> Baruch's Observation:
> If all you have is a hammer, everything looks like a nail.
>
> -
> 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/
>
-
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/