mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 11:59:34 +03:00
5a1fb060fd
A plain rewrite of the shell version, and generates identical units, save for replacing some empty lines with nothing, having fewer meaningless spaces in After=s and different spacing in the lock scripts, for a clean git diff -w This is a gain of anywhere from 0m0.336s vs 0m0.022s (15.27x) to 0m0.202s vs 0m0.006s (33.67x), depending on the hardware, a.k.a. from "absolutely unusable" to "perfectly fine" This also properly deals with canmount=noauto units across multiple pools See PR for detailed timings (of an early version) and diffs Reviewed-by: Antonio Russo <aerusso@aerusso.net> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: InsanePrawn <insane.prawny@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Issue #11915 Closes #11917
15 lines
301 B
Makefile
15 lines
301 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
systemdgenerator_PROGRAMS = \
|
|
zfs-mount-generator
|
|
|
|
zfs_mount_generator_SOURCES = \
|
|
zfs-mount-generator.c
|
|
|
|
zfs_mount_generator_LDADD = \
|
|
$(abs_top_builddir)/lib/libzfs/libzfs.la
|
|
|
|
zfs_mount_generator_LDFLAGS = -pthread
|
|
|
|
include $(top_srcdir)/config/CppCheck.am
|