HomeFreeBSD

Move zap_attribute_t to the heap in dsl_deadlist_merge

Description

Move zap_attribute_t to the heap in dsl_deadlist_merge

In the case of a regular compilation, the compiler
raises a warning for a dsl_deadlist_merge function, that
the stack size is to large. In debug build this can
generate an error.

Move large structures to heap.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mariusz Zaborski <mariusz.zaborski@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #14524

Details

Provenance
oshogboAuthored on Feb 27 2023, 10:27 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 1 2023, 3:34 PM
Parents
rG93a99c6daae6: Revert "initramfs: use `mount.zfs` instead of `mount`"
Branches
Unknown
Tags
Unknown