It may be a bad example - but think about things like page settings. Do you
want a resume to scan in colour when you set black and white just before
suspend ?
> And for a scanner, if the current operation is a scan generating a GB
> of data, what happens if the disk subsystem is no longer accepting
> requests?
It should have refused to suspend because it was active
> In that case, SUSPEND_SAVE_STATE becomes more like SUSPEND_QUIESCE:
> stop accepting new requests, and complete current requests.
Maybe. That sounds like nice design and horrible implementation
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/