[systemd-devel] [PATCH 0/3] move timeout handling out of the core

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Jun 27 21:00:39 PDT 2014


Hi,

this patch series continues the trend of moving stuff out of
the core into generators. As a prerequisite for 3/3, it was
necessary to move some code from core to shared. If comments
are not counted, series is line-count-wise neutral, but I think
it makes things cleaner and easier to introspect.

Zbyszek


Zbigniew Jędrzejewski-Szmek (3):
  1/3 Move x-systemd-device.timeout handling from core to fstab-generator
  2/3 fstab-generator: allow x-systemd.device-timeout for swap units
  3/3 cryptsetup: allow x-systemd.device-timeout

 Makefile.am                           |   8 ++-
 src/core/mount.c                      |  55 ------------------
 src/core/unit.c                       |  70 ++++++++++-------------
 src/cryptsetup/cryptsetup-generator.c |  25 ++++-----
 src/fstab-generator/fstab-generator.c |  17 +++++-
 src/shared/dropin.c                   | 102 ++++++++++++++++++++++++++++++++++
 src/shared/dropin.h                   |  31 +++++++++++
 src/shared/generator.c                |  66 ++++++++++++++++++++++
 src/shared/generator.h                |   3 +
 src/shared/path-lookup.h              |   2 +
 10 files changed, 264 insertions(+), 115 deletions(-)
 create mode 100644 src/shared/dropin.c
 create mode 100644 src/shared/dropin.h

-- 
2.0.0



More information about the systemd-devel mailing list