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

From: Mark Lord
Date: Thu Mar 23 2006 - 17:42:31 EST


Nigel Cunningham wrote:
Hi.

On Thursday 23 March 2006 23:52, Jeff Garzik wrote:
Nigel Cunningham wrote:
Hi.

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.

Prepared against git at the time of writing. Please apply.

Signed-off-by: Nigel Cunningham <nigel@xxxxxxxxxxxx>

Works very well here for me, and long overdue it was!

Thanks, Nigel!
-
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/