diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-06 00:47:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-06 00:47:42 +0200 |
commit | a75560529663e5fd055884e32ab9c73f47f8aaa5 (patch) | |
tree | 38a52e5176648f51ed823616c4316ed0e2fa1fe6 /src/manager.h | |
parent | 38a285d776cc0bf4440efe79fc7691032bcf3d67 (diff) |
manager: merge serialization and desrialization counter into one, and increase it when reexecuting
Instead of having individual counters n_serializing and n_deserializing
have a single one n_reloading, which should be sufficient.
Set n_reloading when we are about to go down for reexecution to avoid
cgroup trimming when we free the units for reexecution.
Diffstat (limited to 'src/manager.h')
-rw-r--r-- | src/manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.h b/src/manager.h index 4557d5f0d5..22730d2176 100644 --- a/src/manager.h +++ b/src/manager.h @@ -223,8 +223,8 @@ struct Manager { ExecOutput default_std_output, default_std_error; - int n_serializing; - int n_deserializing; + /* non-zero if we are reloading or reexecuting, */ + int n_reloading; unsigned n_installed_jobs; unsigned n_failed_jobs; |