mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Switch KM_SLEEP to KM_PUSHPAGE
Two more locations where KM_SLEEP was used in a call which must
use KM_PUSHPAGE were found while using the zpool upgrade command.
See commit b8d06fc for additional details.
Also make a small correction to the comment block above
dsl_dir_open_spa().
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1268
This commit is contained in:
committed by
Brian Behlendorf
parent
02a946ce10
commit
ed2e157605
@@ -1672,7 +1672,7 @@ dmu_objset_find_spa(spa_t *spa, const char *name,
|
||||
}
|
||||
|
||||
thisobj = dd->dd_phys->dd_head_dataset_obj;
|
||||
attr = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
|
||||
attr = kmem_alloc(sizeof (zap_attribute_t), KM_PUSHPAGE);
|
||||
dp = dd->dd_pool;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user