mirror_zfs/man/man5
Ryan Moeller 009cc8e884
Make zc_nvlist_src_size limit tunable
We limit the size of nvlists passed to the kernel so a user cannot make
the kernel do an unreasonably large allocation.  On FreeBSD this limit
was 128 kiB, which turns out to be a bit too small when doing some
operations involving a large number of datasets or snapshots, for
example replication.

Make this limit tunable, with a platform-specific auto default.
Linux keeps its limit at KMALLOC_MAX_SIZE. FreeBSD uses 1/4 of the
system limit on user wired memory, which allows it to scale depending
on system configuration.

Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Issue #6572 
Closes #10706
2020-08-18 09:33:55 -07:00
..
Makefile.am Fixes for make dist 2020-06-26 14:20:02 -07:00
spl-module-parameters.5 Remove KMC_KMEM and KMC_VMEM 2020-08-17 16:04:28 -07:00
vdev_id.conf.5 Fix typos in man/ 2019-08-30 09:41:35 -07:00
zfs-events.5 Fix typos in man/ 2019-08-30 09:41:35 -07:00
zfs-module-parameters.5 Make zc_nvlist_src_size limit tunable 2020-08-18 09:33:55 -07:00
zpool-features.5 Remove GRUB restrictions 2020-08-17 23:12:39 -07:00