]> git.proxmox.com Git - mirror_zfs.git/commit
Don't scale zfs_zevent_len_max by CPU count
authorRyan Moeller <ryan@iXsystems.com>
Wed, 31 Mar 2021 17:56:37 +0000 (13:56 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Apr 2021 15:45:04 +0000 (08:45 -0700)
commit032a213e2e6b791364301e9de029e7b8189a69a0
tree2b90ef27778f0b6039b7212c39c47d80705ce63e
parent3ba10f9a6ae3c1b339fb7ff78a6bc9c314e3e08c
Don't scale zfs_zevent_len_max by CPU count

The lower bound for this scaling to too low and the upper bound is too
high.  Use a fixed default length of 512 instead, which is a reasonable
value on any system.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11822
man/man5/zfs-module-parameters.5
module/zfs/fm.c