From 5fddf97f52cc3a008c8fae1e108fa9caf34b7563 Mon Sep 17 00:00:00 2001 From: Trent Anderson Date: Wed, 25 Oct 2023 19:35:36 +1100 Subject: [PATCH] Add parameter for client tuneFileCacheType (#34) --- manifests/client.pp | 2 ++ templates/7/beegfs-client.conf.erb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/client.pp b/manifests/client.pp index 95b8ce9..54c19b2 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -22,6 +22,7 @@ # @param autobuild # @param autobuild_args # @param tune_refresh_on_get_attr +# @param tune_file_cache_type # @param enable_quota # @param enable_acl # @param enable_rdma @@ -54,6 +55,7 @@ Boolean $autobuild = true, String $autobuild_args = '-j8', Boolean $tune_refresh_on_get_attr = false, + String $tune_file_cache_type = 'buffered', Boolean $enable_quota = $beegfs::enable_quota, Boolean $enable_acl = $beegfs::enable_acl, Boolean $enable_rdma = $beegfs::enable_rdma, diff --git a/templates/7/beegfs-client.conf.erb b/templates/7/beegfs-client.conf.erb index 0417875..f4cc7dc 100644 --- a/templates/7/beegfs-client.conf.erb +++ b/templates/7/beegfs-client.conf.erb @@ -57,7 +57,7 @@ sysTargetOfflineTimeoutSecs = 900 sysUpdateTargetStatesSecs = 60 sysXAttrsEnabled = <%= @enable_acl %> -tuneFileCacheType = buffered +tuneFileCacheType = <%= @tune_file_cache_type %> tunePreferredMetaFile = tunePreferredStorageFile = tuneRemoteFSync = <%= @remote_fsync %>