Re: Linux 2.6.6 "IDE cache-flush at shutdown fixes"

From: Andrew Morton
Date: Tue May 11 2004 - 00:00:52 EST


Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@xxxxxxxxxxxxxx> wrote:
>
> There is a problem with new 2.6 generic ->shutdown framework,
> it doesn't differentiate between reboot / halt and power_off.
> We may try to fix it or revert to 2.4 way of doing things if
> this is too big change for 2.6.

It's a bit grubby, but we could easily add a fourth state to
`system_state': split SYSTEM_SHUTDOWN into SYSTEM_REBOOT and SYSTEM_HALT.
That would be a quite simple change.

-
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/