]> git.proxmox.com Git - mirror_zfs.git/commit
Reduce stack usage of dsl_dir_tempreserve_impl
authorDeHackEd <DeHackEd@users.noreply.github.com>
Mon, 12 Jun 2017 18:41:03 +0000 (14:41 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 12 Jun 2017 18:41:03 +0000 (11:41 -0700)
commit419c80e6dc2cd83372a77dfaf6f04e446d1f0267
tree1d0f447d2ef1b85353b39d4d789780609de0a807
parent851aa99c899e5d7ddc937e223359b8892eeeca5d
Reduce stack usage of dsl_dir_tempreserve_impl

Buildbots and zfs-tests regularly see 7 kilobytes of stack
usage with this function. Convert self-calls to iterations

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Closes #6219
module/zfs/dsl_dir.c