Re: HDAPS, Need to park the head for real

From: Jens Axboe
Date: Fri Aug 19 2005 - 01:34:32 EST


On Thu, Aug 18 2005, Pavel Machek wrote:
> Hi!
>
> > > Please make it "echo 1 > frozen", then userspace can do "echo 0 > frozen"
> > > after five seconds.
> >
> > What if the code to do "echo 0 > frozen" is swapped out to disk? ;)
>
> Emergency head parker needs to be pagelocked for other reasons. You do
> not want to page it from disk while your notebook is in free fall.

It's still a very bad idea imho, what if the head parker daemon is
killed for other reasons? The automatic timeout thawing the drive is
much saner.

--
Jens Axboe

-
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/