aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/rrwlock.h
diff options
context:
space:
mode:
authorArne Jansen <[email protected]>2015-07-02 17:58:17 +0200
committerBrian Behlendorf <[email protected]>2015-07-06 09:31:35 -0700
commit5e8cd5d17f21200beb5f6fae8e8be64c0491195d (patch)
treee714db2ad0eeb07ff449c433a4516dacefe41cc6 /include/sys/rrwlock.h
parent71e2fe41be982076f14fe5d39bcf5f7051a937f0 (diff)
Illumos 5981 - Deadlock in dmu_objset_find_dp
5981 Deadlock in dmu_objset_find_dp Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Dan McDonald <[email protected]> Approved by: Robert Mustacchi <[email protected]> References: https://www.illumos.org/issues/5981 https://github.com/illumos/illumos-gate/commit/1d3f896 Ported-by: kernelOfTruth [email protected] Signed-off-by: Brian Behlendorf <[email protected]> Closes #3553
Diffstat (limited to 'include/sys/rrwlock.h')
-rw-r--r--include/sys/rrwlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/rrwlock.h b/include/sys/rrwlock.h
index 25c8a5246..d2bdff495 100644
--- a/include/sys/rrwlock.h
+++ b/include/sys/rrwlock.h
@@ -72,6 +72,7 @@ void rrw_init(rrwlock_t *rrl, boolean_t track_all);
void rrw_destroy(rrwlock_t *rrl);
void rrw_enter(rrwlock_t *rrl, krw_t rw, void *tag);
void rrw_enter_read(rrwlock_t *rrl, void *tag);
+void rrw_enter_read_prio(rrwlock_t *rrl, void *tag);
void rrw_enter_write(rrwlock_t *rrl);
void rrw_exit(rrwlock_t *rrl, void *tag);
boolean_t rrw_held(rrwlock_t *rrl, krw_t rw);