zfs/etc
наб 5a1fb060fd etc/systemd/zfs-mount-generator: rewrite in C
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
2021-05-27 08:45:51 -07:00
..
default Remove vestigial settings related to initramfs 2020-08-22 11:04:49 -07:00
init.d d/zfsutils.zfs.init derivatives: shellcheck, fix header 2021-05-20 08:55:47 -07:00
modules-load.d Centralize variable substitution 2020-07-14 17:33:44 -07:00
sudoers.d Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
systemd etc/systemd/zfs-mount-generator: rewrite in C 2021-05-27 08:45:51 -07:00
zfs d/zfsutils.zfs.init derivatives: shellcheck, fix header 2021-05-20 08:55:47 -07:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00