Hide b_freeze_* under ZFS_DEBUG
commitbacf366fe246351db5062ae55e1d0613123bd1bc
authorAlexander Motin <mav@FreeBSD.org>
Thu, 5 Jan 2023 17:15:31 +0000 (5 12:15 -0500)
committerGitHub <noreply@github.com>
Thu, 5 Jan 2023 17:15:31 +0000 (5 10:15 -0700)
tree858533de517add349b582b4e1ad1c628f6065f1a
parented2f7ba08d0caf10bd0c8eea98fad05f2bd39f59
Hide b_freeze_* under ZFS_DEBUG

This saves 40 bytes per full ARC header, reducing it on FreeBSD from
240 to 200 bytes on production bits.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #14315
include/sys/arc_impl.h
man/man4/zfs.4
module/zfs/arc.c