Re: [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE.

From: Nigel Cunningham
Date: Thu Mar 23 2006 - 07:14:58 EST


Hi.

On Thursday 23 March 2006 22:06, Andrew Morton wrote:
> Nigel Cunningham <ncunningham@xxxxxxxxxxxx> wrote:
> > At the moment libata doesn't pass pm_message_t down ata_device_suspend.
> > This causes drives to be powered down when we just want a freeze,
> > causing unnecessary wear and tear. This patch gets pm_message_t passed
> > down so that it can be used to determine whether to power down the
> > drive.
>
> Does this explain http://bugzilla.kernel.org/show_bug.cgi?id=6264 ?

Yes, it does.

> This might be 2.6.16.1 material - how irritating is it?

Very. It extends the time to write the image, but as mentioned above, I'm more
concerned by the fact that (assuming I understand correctly), it's using up
the limited number of power cycles a drive can handle.

Regards,

Nigel

Attachment: pgp00000.pgp
Description: PGP signature