lkml.org 
[lkml]   [2008]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Laptop shock detection and harddisk protection
Hi!

> Short of a satisfying proposition regarding the questions raised, I just
> want to add two things that would be nice to solve in the future one way
> or another and should perhaps be taken into consideration from the
> beginning:
>
> 1. Disable polling completely when it isn't required: once the hd has
> spun down, there is no need to keep polling the sensors at all. Only
> when the first request requiring the hd to spin up arrives, the
> kernel needs to hold back for a short while to gather enough data
> from the sensors, so shock protection is up and running again.

hdparm can already tell if disk is spinning or not. As userland is
polling, already, that may be enough?

> 2. Make shock protection interact nicely with suspend operations:
> currently, we are out of luck if anything should happen after
> processes have been frozen. This is particularly unfortunatel in the
> case of s2disk.

I'd say that s2disk is similar to early boot... no protection there.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-09-17 16:29    [W:0.104 / U:1.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site