Re: [git patches] libata hibernation fixes

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

 



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-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux