]> git.proxmox.com Git - mirror_zfs.git/commit
ddt_zap: standardise temp buffer allocations
authorRob Norris <rob.norris@klarasystems.com>
Wed, 17 Jan 2024 22:51:41 +0000 (09:51 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 15 Feb 2024 19:44:55 +0000 (11:44 -0800)
commit5c4cc21fd4e0d15afc3f94895f26efabe80908c6
tree1abe6f1094858eecdc118230616fe8112e61c55d
parent86e91c030c05f1514c99bb202d35f923133bd00b
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
module/zfs/ddt_zap.c