HomeFreeBSD

ddt_zap: standardise temp buffer allocations

Description

ddt_zap: standardise temp buffer allocations

Always do them on the heap, and when we know how much we need, only that
much.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: iXsystems, Inc.
Closes #15887

Details

Provenance
rob.norris_klarasystems.comAuthored on Jan 17 2024, 10:51 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 15 2024, 7:44 PM
Parents
rG86e91c030c05: ddt: move entry compression into ddt_zap
Branches
Unknown
Tags
Unknown