]> granicus.if.org Git - zfs/commit
Fixes: #8934 Large kmem_alloc
authorNick Mattis <nmattis@users.noreply.github.com>
Wed, 10 Jul 2019 22:54:49 +0000 (18:54 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Jul 2019 22:54:49 +0000 (15:54 -0700)
commitd230a65c3b161d33de3a8f96e78f8a35edce6708
treea9e6f69cc5bf7e35da0edcb160f6062f14bdfc8a
parentc3fba9091b1792755a0aac804f6ada1fe863c8b6
Fixes: #8934 Large kmem_alloc
Large allocation over the spl_kmem_alloc_warn value was being performed.
Switched to vmem_alloc interface as specified for large allocations.
Changed the subsequent frees to match.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: nmattis <nickm970@gmail.com>
Closes #8934
Closes #9011
module/zfs/vdev_indirect_births.c