]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ddt: reduce DDT_NAMELEN
authorRob Norris <robn@despairlabs.com>
Mon, 19 Feb 2024 10:19:32 +0000 (21:19 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 26 Feb 2024 20:24:22 +0000 (12:24 -0800)
commit8f2f6cd2ac688916adb2caf979daf95365ccb48f
tree71c525cc60f39af6ccfdb57101527eda7813fda6
parentc00c085bfb187f0c14bd276658a9c897d3919d07
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
include/sys/ddt_impl.h