diff options
author | наб <[email protected]> | 2021-04-19 20:56:10 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-08 14:50:38 -0700 |
commit | 0382362ce06a5514a97bbbf11dfe55e7e408898a (patch) | |
tree | 0e5c57b6a81b7891fc1ec219440b3580a3c20216 /Makefile.am | |
parent | 045807092815a70e523112bfea3a1077e2dfc125 (diff) |
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 <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Reviewed-by: InsanePrawn <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Issue #11915
Closes #11917
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index efe99142e..ca9b9053c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ SUBDIRS += rpm endif if CONFIG_USER -SUBDIRS += etc man scripts lib tests cmd contrib +SUBDIRS += man scripts lib tests cmd etc contrib if BUILD_LINUX SUBDIRS += udev endif |