summaryrefslogtreecommitdiffstats
path: root/module/zfs/rrwlock.c
diff options
context:
space:
mode:
authorTim Chase <[email protected]>2013-09-14 22:09:09 -0500
committerBrian Behlendorf <[email protected]>2013-09-25 15:44:22 -0700
commitc5322236eccc7c5e1d23983c78928ad566685e7c (patch)
treea65c78fb9f8411f872735dcaf2bf827e2addfd27 /module/zfs/rrwlock.c
parentcbfa294de4937ae1af5845e9f765a3dc188cbcef (diff)
Fix several new KM_SLEEP warnings
A handful of allocations now occur in the sync path and need to use KM_PUSHPAGE. These were introduced by commit 13fe019. Signed-off-by: Brian Behlendorf <[email protected]> Issue #1746 Issue #1737
Diffstat (limited to 'module/zfs/rrwlock.c')
-rw-r--r--module/zfs/rrwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/rrwlock.c b/module/zfs/rrwlock.c
index 8e80166c7..357afbfa5 100644
--- a/module/zfs/rrwlock.c
+++ b/module/zfs/rrwlock.c
@@ -103,7 +103,7 @@ rrn_add(rrwlock_t *rrl, void *tag)
{
rrw_node_t *rn;
- rn = kmem_alloc(sizeof (*rn), KM_SLEEP);
+ rn = kmem_alloc(sizeof (*rn), KM_PUSHPAGE);
rn->rn_rrl = rrl;
rn->rn_next = tsd_get(rrw_tsd_key);
rn->rn_tag = tag;