aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRafael J. Wysocki2020-01-23 16:00:56 +0100
committerRafael J. Wysocki2020-01-23 16:00:56 +0100
commit322e929d196c27fa1bd50b389b800e9c30419bde (patch)
treeb54c5ea2ca3e8566ec95044488e549b670607be9 /Documentation
parent18451f9f9e5810b8bd1245c5ae166f257e0e2b9d (diff)
parentc052bf82c6b00ca27aab0859addc4b3159dfd3a4 (diff)
Merge back new material related to system-wide PM for v5.6.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-power13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-power b/Documentation/ABI/testing/sysfs-power
index 6f87b9dd384b..5e6ead29124c 100644
--- a/Documentation/ABI/testing/sysfs-power
+++ b/Documentation/ABI/testing/sysfs-power
@@ -407,3 +407,16 @@ Contact: Kalesh Singh <kaleshsingh96@gmail.com>
Description:
The /sys/power/suspend_stats/last_failed_step file contains
the last failed step in the suspend/resume path.
+
+What: /sys/power/sync_on_suspend
+Date: October 2019
+Contact: Jonas Meurer <jonas@freesources.org>
+Description:
+ This file controls whether or not the kernel will sync()
+ filesystems during system suspend (after freezing user space
+ and before suspending devices).
+
+ Writing a "1" to this file enables the sync() and writing a "0"
+ disables it. Reads from the file return the current value.
+ The default is "1" if the build-time "SUSPEND_SKIP_SYNC" config
+ flag is unset, or "0" otherwise.