mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Illumos 5981 - Deadlock in dmu_objset_find_dp
5981 Deadlock in dmu_objset_find_dp Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com> References: https://www.illumos.org/issues/5981 https://github.com/illumos/illumos-gate/commit/1d3f896 Ported-by: kernelOfTruth kerneloftruth@gmail.com Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #3553
This commit is contained in:
committed by
Brian Behlendorf
parent
71e2fe41be
commit
5e8cd5d17f
@@ -1050,6 +1050,13 @@ dsl_pool_config_enter(dsl_pool_t *dp, void *tag)
|
||||
rrw_enter(&dp->dp_config_rwlock, RW_READER, tag);
|
||||
}
|
||||
|
||||
void
|
||||
dsl_pool_config_enter_prio(dsl_pool_t *dp, void *tag)
|
||||
{
|
||||
ASSERT(!rrw_held(&dp->dp_config_rwlock, RW_READER));
|
||||
rrw_enter_read_prio(&dp->dp_config_rwlock, tag);
|
||||
}
|
||||
|
||||
void
|
||||
dsl_pool_config_exit(dsl_pool_t *dp, void *tag)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user