1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

vfs_glusterfs: print exact cmdline for disabling write-behind translator

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14486

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Nov 27 17:15:07 UTC 2020 on sn-devel-184
This commit is contained in:
Günther Deschner 2020-11-24 15:38:41 +01:00
parent 5c27740aef
commit 369c1d5398
2 changed files with 10 additions and 3 deletions

View File

@ -179,10 +179,14 @@
translator and refuse to connect if detected.
Please disable the write-behind translator for the GlusterFS
volume to allow the plugin to connect to the volume.
The write-behind translator can easily be disabled via calling
<programlisting>
gluster volume set &lt;volumename&gt; performance.write-behind off
</programlisting> on the commandline.
</para>
<para>
With GlusterFS versions >= 9, we silently bypass write-behind
translator during intial connect and failure is avoided.
translator during initial connect and failure is avoided.
</para>
</refsect1>

View File

@ -345,9 +345,12 @@ static int check_for_write_behind_translator(TALLOC_CTX *mem_ctx,
if (write_behind_present) {
DBG_ERR("Write behind translator is enabled for "
"volume (%s), refusing to connect! "
"Please check the vfs_glusterfs(8) manpage for "
"Please turn off the write behind translator by calling "
"'gluster volume set %s performance.write-behind off' "
"on the commandline. "
"Check the vfs_glusterfs(8) manpage for "
"further details.\n",
volume);
volume, volume);
return -1;
}