diff options
author | John Gallagher <[email protected]> | 2018-06-15 15:10:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-06-15 15:10:42 -0700 |
commit | 917f475fba03ceb4e11c7aa35aff09c47a6c596e (patch) | |
tree | 92ce7d3981d5ca93e1bbcb42665e9ecc3e1ed1ed /man | |
parent | 7b98f0d91f09df90218322df5cf1b8ba7928972e (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 'man')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index dbfa8806a..7a195ab12 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1,6 +1,7 @@ '\" te .\" Copyright (c) 2013 by Turbo Fredriksson <[email protected]>. All rights reserved. .\" Copyright (c) 2017 Datto Inc. +.\" Copyright (c) 2018 by Delphix. All rights reserved. .\" The contents of this file are subject to the terms of the Common Development .\" and Distribution License (the "License"). You may not use this file except .\" in compliance with the License. You can obtain a copy of the license at @@ -1563,6 +1564,30 @@ Default value: \fB32,768\fR. .sp .ne 2 .na +\fBzfs_lua_max_instrlimit\fR (ulong) +.ad +.RS 12n +The maximum execution time limit that can be set for a ZFS channel program, +specified as a number of Lua instructions. +.sp +Default value: \fB100,000,000\fR. +.RE + +.sp +.ne 2 +.na +\fBzfs_lua_max_memlimit\fR (ulong) +.ad +.RS 12n +The maximum memory limit that can be set for a ZFS channel program, specified +in bytes. +.sp +Default value: \fB104,857,600\fR. +.RE + +.sp +.ne 2 +.na \fBzfs_max_recordsize\fR (int) .ad .RS 12n |