aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/lz4.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/lz4.c')
-rw-r--r--module/zfs/lz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/lz4.c b/module/zfs/lz4.c
index 5c3c6cdb1..cf406b936 100644
--- a/module/zfs/lz4.c
+++ b/module/zfs/lz4.c
@@ -838,7 +838,7 @@ real_LZ4_compress(const char *source, char *dest, int isize, int osize)
int result;
ASSERT(lz4_cache != NULL);
- ctx = kmem_cache_alloc(lz4_cache, KM_PUSHPAGE);
+ ctx = kmem_cache_alloc(lz4_cache, KM_SLEEP);
/*
* out of kernel memory, gently fall through - this will disable