diff options
author | msizanoen1 <msizanoen@qtmlabs.xyz> | 2022-12-07 20:46:01 +0700 |
---|---|---|
committer | msizanoen1 <msizanoen@qtmlabs.xyz> | 2022-12-08 00:54:53 +0100 |
commit | 3d19e122cfe341b28dfcb58f1aac829c122da569 (patch) | |
tree | 36d1c476bbe4bd4f1cc4a8406511c9cf6bf17b02 /src/core/dbus-unit.h | |
parent | a14137d90e5f50ad8627c85ae94731a5c9948227 (diff) | |
download | systemd-3d19e122cfe341b28dfcb58f1aac829c122da569.tar.gz |
core/unit: allow overriding an ongoing freeze operation
Sometimes a freeze operation can hang due to the presence of kernel
threads inside the unit cgroup (e.g. QEMU-KVM). This ensures that the
ThawUnit operation invoked by systemd-sleep at wakeup always thaws the
unit.
Diffstat (limited to 'src/core/dbus-unit.h')
-rw-r--r-- | src/core/dbus-unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-unit.h b/src/core/dbus-unit.h index 643edcd87e..6b7828e4ba 100644 --- a/src/core/dbus-unit.h +++ b/src/core/dbus-unit.h @@ -10,7 +10,7 @@ extern const sd_bus_vtable bus_unit_cgroup_vtable[]; void bus_unit_send_change_signal(Unit *u); void bus_unit_send_pending_change_signal(Unit *u, bool including_new); -int bus_unit_send_pending_freezer_message(Unit *u); +int bus_unit_send_pending_freezer_message(Unit *u, bool cancelled); void bus_unit_send_removed_signal(Unit *u); int bus_unit_method_start_generic(sd_bus_message *message, Unit *u, JobType job_type, bool reload_if_possible, sd_bus_error *error); |