Re: [RFC]add ACPI hooks for IDE suspend/resume

From: Matthew Garrett
Date: Wed Dec 07 2005 - 17:48:37 EST


On Wed, Dec 07, 2005 at 11:43:23PM +0100, Pavel Machek wrote:

> If someone swapped the drive while runtime, it would not be true, too,
> I guess. But that would be stupid thing to do. Swapping drive during
> suspend-to-RAM would be similary stupid. During suspend-to-disk, it
> might theoretically work, but we have big warnings saying "don't do
> that".

ACPI systems tend to fire ACPI notifications when a drive is ejected
(and sometimes when you're preparing to eject them, depending on the
system), which ought to make hotswap possible. I'm looking at
integrating support for that into libata right now.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/