HomeFreeBSD

ddt: reduce DDT_NAMELEN

Description

ddt: reduce DDT_NAMELEN

This is the buffer size passed to ddt_object_name(), to expand the
DMU_POOL_DDT format. That format inserts the table checksum, class and
type names, which as I write this are max 6, 9 and 3, respectively.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #15908

Details

Provenance
rob.norris_klarasystems.comAuthored on Feb 19 2024, 10:19 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 26 2024, 8:24 PM
Parents
rGc00c085bfb18: config: use -Wno-format-truncation globally
Branches
Unknown
Tags
Unknown