mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov Reviewed-by: Sara Hartse <sara.hartse@delphix.com> Signed-off-by: John Gallagher <john.gallagher@delphix.com> External-issue: LX-1085 Closes #7618
This commit is contained in:
committed by
Brian Behlendorf
parent
7b98f0d91f
commit
917f475fba
+3
-3
@@ -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 *, ...);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user