Switch KM_SLEEP to KM_PUSHPAGE
[zfs.git] / module / zfs / bplist.c
index 5d1cf7e..d196351 100644 (file)
@@ -44,7 +44,7 @@ bplist_destroy(bplist_t *bpl)
 void
 bplist_append(bplist_t *bpl, const blkptr_t *bp)
 {
-       bplist_entry_t *bpe = kmem_alloc(sizeof (*bpe), KM_SLEEP);
+       bplist_entry_t *bpe = kmem_alloc(sizeof (*bpe), KM_PUSHPAGE);
 
        mutex_enter(&bpl->bpl_lock);
        bpe->bpe_blk = *bp;