Re: [ibm-acpi-devel] CONFIG_IBM_BAY

Theodore Tso
2007-03-20T14:57:30Z

On Mon, Mar 19, 2007 at 08:24:19PM -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 19 Mar 2007, Theodore Tso wrote:
> > One more thing I would add from a power management perspective. It
> > should be able to powerdown the bay cleanly on suspend-to-ram, without
> > necessarily disconnecting libata or unmounting the filesystem.
>
> The disconnect-or-not needs to be user-configurable, as the user may well
> swap devices in the bay while the system is sleeping, AND this is supposed
> to be a valid thing to do from a usercase PoV (earlier ThinkPad laptops only
> had warm-swap bays, for example). So must be the powerdown, I suppose, just
> in case.

Maybe, but then the suspend mail have to fail if there are processes
that are keeping the filesystem from being unmounted. Or the
processes hanging out on the hard drive or CD-ROM could get all of
their file descriptors revoked on resume, I suppose, if the bay has
been switched out.....

- Ted