[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1c12532c-66dd-cb89-d88e-b4c220099db9@freesources.org>
Date: Fri, 10 Jan 2020 11:52:03 +0100
From: Jonas Meurer <jonas@...esources.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: linux-kernel@...r.kernel.org, Linux PM <linux-pm@...r.kernel.org>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>,
Tim Dittler <tim.dittler@...temli.org>,
Yannik Sembritzki <yannik@...britzki.me>
Subject: Re: [PATCH v2] PM: Add a switch for disabling/enabling sync() before
suspend
Hey Rafael,
Jonas Meurer:
> The switch allows to enable or disable the final sync() from the suspend.c
> Linux Kernel system suspend implementation. This is useful to avoid race
> conditions if block devices have been suspended before. Be aware that you
> have to take care of sync() yourself before suspending the system if you
> disable it here.
>
> Congruously, the behaviour of build-time switch CONFIG_SUSPEND_SKIP_SYNC
> is slightly changed: It now configures the default for fun-time switch
> '/sys/power/sync_on_suspend'.
>
> Signed-off-by: Jonas Meurer <jonas@...esources.org>
Sorry to poke you again :)
Did you find time to further look into the patch yet?
Cheers
jonas
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists