(I'll go look into this myself after filing, I just didn't want to forget, since I'm not digging into it immediately...)
Curious to know where the optima were, I tried raising spl_kmem_cache_slab_limit past 16384, only to find that it causes one of two kinds of failure.
On the smaller end of values (32768 <= X <= ???), it NULL dereferences on unloading the zfs module, crashing the whole system.
On the larger end of values (16777216 being one example), it VERIFY trips immediately on loading the zfs module.
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
System information
Describe the problem you're observing
(I'll go look into this myself after filing, I just didn't want to forget, since I'm not digging into it immediately...) Curious to know where the optima were, I tried raising spl_kmem_cache_slab_limit past 16384, only to find that it causes one of two kinds of failure.
On the smaller end of values (32768 <= X <= ???), it NULL dereferences on unloading the zfs module, crashing the whole system. On the larger end of values (16777216 being one example), it VERIFY trips immediately on loading the zfs module.
Describe how to reproduce the problem
modprobe spl spl_kmem_cache_slab_limit=32768;modprobe zfs;rmmod zfs;
Include any warning/errors/backtraces from the system logs
From the small end:
From the large end: