[Pm-utils] [PATCH 1/6] Do not actually sleep if one of the hooks failed.
Victor Lowther
victor.lowther at gmail.com
Mon Apr 28 16:27:31 PDT 2008
On Mon, 2008-04-28 at 15:59 +0200, Stefan Seyfried wrote:
> Victor Lowther wrote:
> > This patch series aims to improve logging and abort the suspend/resume process
> > if a hook fails with an unknown error code.
>
> That's certainly a change in the API - before a hook had to explicitly request
> that suspend stopped. So old hooks might break for no good reason, this is
> inacceptable IMVHO.
That is one of the reasons this patch series is not currently in. I
would like suggestions on a good way to handle this case than "hope that
hook was not really essential and suspend anyways", but that is more of
a 2.0 type thing.
--
Victor Lowther
Ubuntu Certified Professional
More information about the Pm-utils
mailing list