[dm-devel] [PATCH 0/6] multipath-tools: kernel module loading improvements
mwilck at suse.com
mwilck at suse.com
Tue Feb 1 23:40:18 UTC 2022
From: Martin Wilck <mwilck at suse.com>
Continuation of my previous series with cleanup of systemd services.
This series drops the ExecStartPre directive for loading dm-multipath
in favor of a modules-load.d entry. That has the advantage to apply
also for multipath when called in udev rules, and to be added to
the initramfs automatically.
The loading of SCSI device handlers was dropped in the previous series
already. Here, too, a modules-load.d file makes more sense than
ExecStartPre. Some distributions may be served better with a softdep
on scsi_mod, but that's out of scope for upstream. Therefore the list
of device handler modules to preload is configurable.
Martin Wilck (6):
multipath/Makefile: use $(udevrulesdir)
multipath-tools: Makefile.inc: delete obsolete comment
multipath-tools: install modules-load.d/multipath.conf
multipathd.service: drop ExecStartPre for loading dm-multipath
multipath: Makefile: modules-load.d file for SCSI device handlers
README.md: add basic information about building multipath-tools
Makefile.inc | 12 ++++----
README.md | 56 +++++++++++++++++++++++++++++++++++
multipath/Makefile | 11 ++++++-
multipath/modules-load.conf | 3 ++
multipathd/multipathd.service | 1 -
5 files changed, 75 insertions(+), 8 deletions(-)
create mode 100644 multipath/modules-load.conf
--
2.34.1
More information about the dm-devel
mailing list