summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2021-04-14 13:49:20 +0200
committerGitHub <noreply@github.com>2021-04-14 17:19:20 +0530
commite499d5d547e399353b7189bb512888e5164af522 (patch)
tree3aa012443df3d2e0e1bf744de8b06f97d6d70f02
parent4336edecaf74b52c94c2e8d663610c8b0936c645 (diff)
downloadglusterfs-e499d5d547e399353b7189bb512888e5164af522.tar.gz
glusterfs-e499d5d547e399353b7189bb512888e5164af522.tar.xz
glusterfs-e499d5d547e399353b7189bb512888e5164af522.zip
group-samba: disable performance.write-behind translator. (#2329)
Fixes: #2328 From the vfs_glusterfs(8) manpage: "The GlusterFS write-behind performance translator, when used with Samba, could be a source of data corruption. The translator, while processing a write call, immediately returns success but continues writing the data to the server in the background. This can cause data corruption when two clients relying on Samba to provide data consistency are operating on the same file." Guenther Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--extras/group-samba1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/group-samba b/extras/group-samba
index eeee6e0603..9611a1f76e 100644
--- a/extras/group-samba
+++ b/extras/group-samba
@@ -9,3 +9,4 @@ performance.nl-cache=on
performance.nl-cache-timeout=600
performance.readdir-ahead=on
performance.parallel-readdir=on
+performance.write-behind=off