bundles/zfs: rename zfs_arc_max_mb to zfs_arc_max_gb
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
b36018f36b
commit
a793bb5fc1
3 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<%
|
||||
arc_max_mb = node.metadata.get('zfs/module_options/zfs_arc_max_mb', 1024)
|
||||
arc_max_gb = node.metadata.get('zfs/module_options/zfs_arc_max_gb', 1)
|
||||
%>\
|
||||
% if arc_max_mb != 0:
|
||||
options zfs zfs_arc_max=${arc_max_mb * 1024 * 1024}
|
||||
% if arc_max_gb > 0:
|
||||
options zfs zfs_arc_max=${arc_max_gb * 1024 * 1024 * 1024}
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue