[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4910E6CD.9090605@mail.usask.ca>
Date: Tue, 04 Nov 2008 18:20:29 -0600
From: Robert Hancock <rwh461@...l.usask.ca>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Pavel Machek <pavel@...e.cz>, Jeff Garzik <jeff@...zik.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-ide@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [git patches] libata hibernation fixes
Linus Torvalds wrote:
>
> On Tue, 4 Nov 2008, Pavel Machek wrote:
>> (Is park command normally supported on modern disks? IIRC hdaps people
>> had issues with not all disks supporting it?)
>
> The modern version of parking is called "idle immediate". It may be that
> only laptop drives support the "unload" part. But it's definitely not an
> ancient and deprecated thing (although calling it "parking" is apparently
> old-fashioned :)
IDLE IMMEDIATE just transitions the device to the Idle state, which is
normally parked/unloaded and spun down. Newer specs have an unload
option, but really the only thing that does is tell the drive to do it
immediately, even if read-ahead is in progress or there is dirty data in
its write cache (something we definitely don't want to do if we're about
to power down), it still spins down.
It would be interesting to check Windows using QEMU or something to
verify what exactly it's doing. I know Windows can run into this as
well, on my Compaq X1000 laptop a shutdown from Windows also does a
double spin-down on the hard drive. (However I replaced the original
Hitachi drive with a Samsung, which might have different behavior.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists