brt_vdev_realloc: use vmem_alloc for large allocation
commit8aa4f0f0fc16bfecf47cc36fd88a7c360ffe0953
authorRob Norris <rob.norris@klarasystems.com>
Thu, 22 Jun 2023 03:44:00 +0000 (22 13:44 +1000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 26 Jul 2023 15:46:58 +0000 (26 08:46 -0700)
treeb30d9a6b9d98c168a70741093c5c93940159b601
parent7698503dcae0acf1e2c74351b258d2ed5c231eaa
brt_vdev_realloc: use vmem_alloc for large allocation

bv_entcount can be a relatively large allocation (see comment for
BRT_RANGESIZE), so get it from the big allocator.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Kay Pedersen <mail@mkwg.de>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-By: OpenDrives Inc.
Sponsored-By: Klara Inc.
Closes #15050
module/zfs/brt.c