]> granicus.if.org Git - zfs/commit
mzap_upgrade() must use kmem_alloc()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 22 Aug 2012 03:53:01 +0000 (20:53 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Aug 2012 19:01:37 +0000 (12:01 -0700)
commit991fc1d7ae2589c01a939a9cbd0e866c90fdd03b
tree14a95bcdd52aa97a8651e9d867021203e26c2c53
parent8630650a8d9cfba379a5b73bd95e903d577e0d8d
mzap_upgrade() must use kmem_alloc()

These allocations in mzap_update() used to be kmem_alloc() but
were changed to vmem_alloc() due to the size of the allocation.
However, since it turns out this function may be called in the
context of the txg_sync thread they must be changed back to use
a kmem_alloc() to ensure the KM_PUSHPAGE flag is honored.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zap_micro.c