[lkml]   [2020]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>

Sorry to poke you again :)

Did you find time to further look into the patch yet?


[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2020-01-10 11:52    [W:0.044 / U:8.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site