Skip to contentSkip to conversation

A couple of questions about laptop-mode for 2.6, version 4

DISCUSSION Kiko Piris 2 participants 2 messages Dec 30, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Kiko Piris

author
#2 lore raw
Quoted 4 lines · Bart Samwel

As I'm not subscribed to the mailing list, I have seen the message but I was unable to reply. AFAICS it's customary to use "reply all" when replying to LKML messages, because of the high volume of mailing list traffic.

Ah!, no problem at all. I'm used to hit "List Reply" on Mutt (and Mutt relies on Mail-Followup-To: header, http://cr.yp.to/proto/replyto.html).
I will take note on your advice.

Hope you don't mind I'm sending a copy to the lkml so that it's archived in case it could be useful to someone (and hope the list does'nt mind too).

Quoted 4 lines

3. Remounting seems the only option to me, because laptop_mode contains no automatic adjustment. The 2.4 patch used to contain this, but it was not integrated into 2.4.23, for good reasons -- it took away the user's choice on which filesystems got a higher commit interval.

Oh!, I didn't notice that part wasn't included in 2.4.23. Thanks for the info.

Quoted 5 lines

If you use the /proc/mounts option, you can start a "daemon" script to monitor the /proc/mounts, and to immediately remount any new ext3 filesystems with a higher commit interval depending on the status of /proc/sys/vm/laptop_mode. This script could then also remount all of them back to normal whenever laptop_mode switched back to 0.

OK, I see it.

I think I will do things just "by hand". I don't feel like having a daemon messing with filesystems (it seems to mee quite far from the KISS philosophy).

Btw, have you had reliability reports? Do you know if it's going to be included in 2.6 "official" tree shortly?

Quoted 1 line

Hope this answers your questions.

Sure it does, thanks a lot!

Signature · 1 line
Kiko
#3 lore raw
Quoted 2 lines · Kiko Piris

Btw, have you had reliability reports? Do you know if it's going to be included in 2.6 "official" tree shortly?

I've gotten no reliability reports whatsoever, but nobody's complained. I've run it for a couple of days and it worked fine for me, so that give me some level of confidence. As for your second question: I have no clue, this is out of my hands. I'm not even sure if I have to do anything specific (like officially submitting to Linus or something) in order to have it included. Can anyone tell me how this is usually done?

Bart