aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zcp.h
diff options
context:
space:
mode:
authorJohn Gallagher <[email protected]>2018-06-15 15:10:42 -0700
committerBrian Behlendorf <[email protected]>2018-06-15 15:10:42 -0700
commit917f475fba03ceb4e11c7aa35aff09c47a6c596e (patch)
tree92ce7d3981d5ca93e1bbcb42665e9ecc3e1ed1ed /include/sys/zcp.h
parent7b98f0d91f09df90218322df5cf1b8ba7928972e (diff)
Add tunables for channel programs
This patch adds tunables for modifying the maximum memory limit and maximum instruction limit that can be specified when running a channel program. Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected] Reviewed-by: Sara Hartse <[email protected]> Signed-off-by: John Gallagher <[email protected]> External-issue: LX-1085 Closes #7618
Diffstat (limited to 'include/sys/zcp.h')
-rw-r--r--include/sys/zcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/zcp.h b/include/sys/zcp.h
index b56eda552..b9c8ef006 100644
--- a/include/sys/zcp.h
+++ b/include/sys/zcp.h
@@ -14,7 +14,7 @@
*/
/*
- * Copyright (c) 2016, 2017 by Delphix. All rights reserved.
+ * Copyright (c) 2016, 2018 by Delphix. All rights reserved.
*/
#ifndef _SYS_ZCP_H
@@ -33,8 +33,8 @@ extern "C" {
#define ZCP_RUN_INFO_KEY "runinfo"
-extern uint64_t zfs_lua_max_instrlimit;
-extern uint64_t zfs_lua_max_memlimit;
+extern unsigned long zfs_lua_max_instrlimit;
+extern unsigned long zfs_lua_max_memlimit;
int zcp_argerror(lua_State *, int, const char *, ...);