diff options
author | Paul Dagnelie <[email protected]> | 2022-08-22 12:36:22 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-22 12:36:22 -0700 |
commit | 17e212652db34d2942d6aa42ba14b443bcd73bea (patch) | |
tree | 842a7c17a4f8cbb0c99223942f0352028c06f145 /scripts | |
parent | d22dd77c4d4556373b995121412c4abac02bcf8a (diff) |
Prevent zevent list from consuming all of kernel memory
There are a couple changes included here. The first is to introduce
a cap on the size the ZED will grow the zevent list to. One million
entries is more than enough for most use cases, and if you are
overflowing that value, the problem needs to be addressed another
way. The value is also tunable, for those who want the limit to be
higher or lower.
The other change is to add a kernel module parameter that allows
snapshot creation/deletion to be exempted from the history logging;
for most workloads, having these things logged is valuable, but for
some workloads it produces large quantities of log spam and isn't
especially helpful.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Issue #13374
Closes #13753
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions