Re: [git patches] libata hibernation fixes

From: Rafael J. Wysocki
Date: Tue Nov 04 2008 - 16:04:27 EST


On Tuesday, 4 of November 2008, Pavel Machek wrote:
> Hi!
>
> > - quite possibly: we just should not spin down disks at all, and just
> > flush them and do the "park" command thing. If we're _really_ powering
> > off, the disks will spin down on their own when power goes away. Maybe
> > that's what Windows does?
>
> I believe that 'emergency' spindown (on power fail) is different from
> regular spindown, and that emergency spindown damages the disk more.
>
> But perhaps park + power fail is similar to regular spindown?
>
> (Is park command normally supported on modern disks? IIRC hdaps people
> had issues with not all disks supporting it?)

I don't know really and that's why I'd prefer it if Tejun commented here.

Anyway, I created these patches because the people who discussed this issue
believed it was the right thing to do. They are based on a Tejun's patch
posted as an attachment to http://bugzilla.kernel.org/show_bug.cgi?id=8855 .
Please look into that bug entry for further references.

Thanks,
Rafael
--
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/