zfs/man/man8
наб fe6f2651f5 etc/systemd/zfs-mount-generator: serialise, handle keylocation=http[s]://
* etc/systemd/zfs-mount-generator: serialise

The wins for a relatively normal workload are rather slim:
	real	0.02119s/0.00985s=2.15029x
	user	0.02130s/0.00346s=6.15560x
	sys	0.03858s/0.00643s=6.00062x

	wall-total	0.014518s/0.005925s=2.45009x
	wall-init	0.014518s/0.002457s=5.90684x
	wall-real	0.014518s/0.003467s=4.18668x

But this is a big win on machines with a lot of datasets and expensive
forks.

For example, the gain on a VM on my work laptop with 900+ legacy-mount
Docker datasets, the original gains from the C rewrite were
only five-fold:
	real    0.516s/0.102s=5.05882x
	user    0.237s/0.143s=1.65734x
	sys     0.287s/0.100s=2.87x

And this serial variant gains this back there as well:
	real    0.102s/0.008s=12.75x
	user    0.143s/0.007s=20.42857
	sys     0.100s/0.001s=100x

	wall-total	0.09717s/0.00319s=30.40255x
	wall-init	0.00203s/0.00200s=1.015941x
	wall-real	0.09513s/0.00118s=80.02043x

For a total of
	real    0.516s/0.008s=64.5x
	user    0.237s/0.007s=33.85714x
	sys     0.287s/0.001s=287x

Suggested-by: Richard Laager <rlaager@wiktel.com>

* etc/systemd/zfs-mount-generator: pull in network for keylocation=https

Also simplify RequiresMountsFor= handling
Ref: #11956

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Upstream-commit: 4325de09cd
Closes #12138
2022-04-01 09:58:45 -07:00
..
.gitignore Ignore *.o.ur-safe build artifacts 2018-05-13 18:59:02 -07:00
fsck.zfs.8 Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
mount.zfs.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
vdev_id.8 vdev_id.8: modernise, note scsi topology 2021-06-09 13:05:34 -07:00
zdb.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zed.8.in Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
zfs-allow.8 Add missing properties to zfs allow manpage 2021-09-14 13:08:19 -07:00
zfs-bookmark.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-change-key.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-clone.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-create.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-destroy.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-diff.8 zfs, libzfs: diff: accept -h/ZFS_DIFF_NO_MANGLE, disabling path escaping 2022-04-01 09:58:45 -07:00
zfs-get.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-groupspace.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-hold.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-inherit.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-jail.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-list.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-load-key.8 man: speling 2022-02-16 17:58:55 -08:00
zfs-mount-generator.8.in etc/systemd/zfs-mount-generator: serialise, handle keylocation=http[s]:// 2022-04-01 09:58:45 -07:00
zfs-mount.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-program.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-project.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-projectspace.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-promote.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-receive.8 zfs-receive.8: properly unlight = in option setting 2022-02-16 17:58:56 -08:00
zfs-recv.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-redact.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-release.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-rename.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-rollback.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zfs-send.8 Correct zfs-send(8) on readonly sends 2021-09-14 12:38:51 -07:00
zfs-set.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-share.8 zfs-share.8: document -l flag 2022-02-16 17:58:55 -08:00
zfs-snapshot.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-unallow.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-unjail.8 Add FreeBSD jail support hooks 2019-12-11 11:58:37 -08:00
zfs-unload-key.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-unmount.8 Reorganize zfs(8) man page into sections 2019-11-12 11:17:40 -08:00
zfs-upgrade.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-userspace.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs-wait.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zfs.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zfs_ids_to_path.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zgenhostid.8 man: speling 2022-02-16 17:58:55 -08:00
zinject.8 zinject.8: modernise 2021-06-09 13:05:34 -07:00
zpool-add.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-attach.8 man: speling 2022-02-16 17:58:55 -08:00
zpool-checkpoint.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-clear.8 Clarify `failmode=wait` documentation 2022-02-16 17:58:55 -08:00
zpool-create.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-destroy.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-detach.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-events.8 man: speling 2022-02-16 17:58:55 -08:00
zpool-export.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-get.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-history.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-import.8 zpool-import.8: WARNING should be emphasised 2022-02-16 17:58:56 -08:00
zpool-initialize.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-iostat.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-labelclear.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-list.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-offline.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-online.8 Reorganize zpool(8) man page into sections 2019-11-13 09:21:07 -08:00
zpool-reguid.8 Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
zpool-remove.8 zpool-remove.8: describe top-level vdev sector size limitation 2021-09-14 14:32:16 -07:00
zpool-reopen.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-replace.8 man: speling 2022-02-16 17:58:55 -08:00
zpool-resilver.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool-scrub.8 systemd: add weekly and monthly scrub timers 2022-02-10 11:04:35 -08:00
zpool-set.8 Reorganize zpool(8) man page into sections 2019-11-13 09:21:07 -08:00
zpool-split.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-status.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-sync.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-trim.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-upgrade.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool-wait.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zpool.8 Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00
zpool_influxdb.8 Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
zstream.8 Lint most manpages 2021-06-09 13:05:34 -07:00
zstreamdump.8 zstreamdump: replace with link to zstream 2021-06-08 14:48:58 -07:00