HomeFreeBSD

Don't emit cksum_{actual_expected} in ereport.fs.zfs.checksum events

Description

Don't emit cksum_{actual_expected} in ereport.fs.zfs.checksum events

With anything but fletcher-4, even a tiny change in the input will cause
the checksum value to change completely. So knowing the actual and
expected checksums doesn't provide much more information than "they
don't match". The harm in sending them is simply that they bloat the
event. In particular, on FreeBSD the event must fit into a 1016 byte
buffer.

Fixes #14717 for mirrored pools.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Alan Somers <asomers@gmail.com>
Sponsored-by: Axcient
Closes #14717
Closes #15052

Details

Provenance
asomersAuthored on Jul 11 2023, 9:13 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 21 2023, 6:49 PM
Parents
rGcf2a225b2481: Don't emit checksum histograms in ereport.fs.zfs.checksum events
Branches
Unknown
Tags
Unknown