[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: laptop_mode doesn't seem to work: kjournald waking up disks frequently



On Sat, Jul 17, 2004 at 05:11:42PM +1000, Tim Connors wrote:
> On Sat, 17 Jul 2004, Micha Feigin wrote:
> 
> > On Sat, Jul 17, 2004 at 03:08:08AM +1000, Tim Connors wrote:
> > > On Fri, 16 Jul 2004, Bartek Kania wrote:
> > > A while ago, I looked at the code in one of the filesystems (either ext3
> > > or jfs - the two fs's I use), and I wasn't convinced that the code
> > > correctly saved the -o remount,commitinterval value. I convinced myself it
> > > only got set at mount time, not at remount time - but I am very likely
> > > wrong, given that I am not a kernel hacker, and probably missed some
> > > subtlety.
> > >
> > > I have never had any luck with the laptop mode patches. Dammit.
> > >
> >
> > It should work fine with ext3, reiserfs and xfs with kernel 2.6. With
> > 2.4 only ext3 is functional (although it is somewhat faulty). I have
> > patches for 2.4 if anyone wants, didn't try to push them through yet
> > and I doubt they will be accepted as 2.4 doesn't take too many changes
> > other then bug fixes anymore.
> 
> How much work do you reckon it would be to get it to play nice with jfs?
> :)
> 

I don't have time until Aug 1 I'm afraid (two big tests) but I will take
a look then. The amount of work mostly depends on the journal flushing
mechanism, but its probably not too much work. I'm also in touch with
the guy that ported laptop-mode to kernel 2.6 so I will consult him
also.

> -- 
> TimC -- http://astronomy.swin.edu.au/staff/tconnors/
> Just because they are called 'forbidden' transitions does not mean
> that they are forbidden.  They are less allowed than allowed
> transitions, if you see what I mean.
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 



Reply to: