]> err.no Git - systemd/commit
manager: merge serialization and desrialization counter into one, and increase it...
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jul 2011 22:47:39 +0000 (00:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Jul 2011 22:47:42 +0000 (00:47 +0200)
commita75560529663e5fd055884e32ab9c73f47f8aaa5
tree38a52e5176648f51ed823616c4316ed0e2fa1fe6
parent38a285d776cc0bf4440efe79fc7691032bcf3d67
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.
src/fdset.c
src/main.c
src/manager.c
src/manager.h
src/service.c
src/snapshot.c
src/unit.c