Drop KMC_NOEMERGENCY

This is not implemented. If it were implemented, using it would risk
deadlocks on pre-3.18 kernels. Lets just drop it.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #9119
This commit is contained in:
Richard Yao
2019-08-13 09:46:12 -04:00
committed by Brian Behlendorf
parent 3b9edd7b17
commit fccbd1d6e2
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ spl_zlib_init(void)
zlib_workspace_cache = kmem_cache_create(
"spl_zlib_workspace_cache",
size, 0, NULL, NULL, NULL, NULL, NULL,
KMC_VMEM | KMC_NOEMERGENCY);
KMC_VMEM);
if (!zlib_workspace_cache)
return (1);