]> granicus.if.org Git - zfs/commit
Use vmem_alloc() in spa_config_write()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 3 Apr 2015 16:12:02 +0000 (09:12 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Apr 2015 22:10:19 +0000 (15:10 -0700)
commitf42d7f4111f754b0f77e5982278fc79d31408d8c
tree1f8d461e6897f4fa7e56d7371a58c9b769c4987a
parent40d06e3c78c23b199dfd9284809e710fab549391
Use vmem_alloc() in spa_config_write()

The packed nvlist allocated in spa_config_write() may exceed the
warning threshold for large configurations.  Use the vmem interfaces
for this short lived allocation.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3251
module/zfs/spa_config.c