diff options
author | Ralph Boehme <slow@samba.org> | 2018-01-04 16:59:54 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-01-06 00:07:17 +0100 |
commit | 495c646ec5cbd61539f6c547cd6048d7ff167d30 (patch) | |
tree | d408eeb124cab7ce541f7bf9d9e9771924aaaa39 /docs-xml/manpages/vfs_fileid.8.xml | |
parent | 6a8764ebcc0de57e7dd0dc22eaf4a9d201c0dca9 (diff) | |
download | samba-495c646ec5cbd61539f6c547cd6048d7ff167d30.tar.gz |
vfs_fileid: add fileid:algorithm = hostname
Using fileid:algorithm = hostname makes fileid generate
fileids based on the hostname. This breaks cluster lock coherence.
Based-on-a-patch-by: Christian Ambach <ambi@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'docs-xml/manpages/vfs_fileid.8.xml')
-rw-r--r-- | docs-xml/manpages/vfs_fileid.8.xml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/docs-xml/manpages/vfs_fileid.8.xml b/docs-xml/manpages/vfs_fileid.8.xml index 568756ba519..6a09f16cf79 100644 --- a/docs-xml/manpages/vfs_fileid.8.xml +++ b/docs-xml/manpages/vfs_fileid.8.xml @@ -60,9 +60,9 @@ <varlistentry> <term>fileid:algorithm = ALGORITHM</term> <listitem> - <para>Available algorithms are <command>fsname</command> - and <command>fsid</command>. The default value is - <command>fsname</command>. + <para>Available algorithms are <command>fsname</command>, + <command>fsid</command> and <command>hostname</command>. The + default value is <command>fsname</command>. </para> <para>The <command>fsname</command> algorithm generates device id by hashing the kernel device name. @@ -71,6 +71,10 @@ the device id from the <command>f_fsid</command> returned from the <command>statfs()</command> syscall. </para> + <para>The <command>hostname</command> algorithm generates device + id by hashing the hostname. This can be used to deliberately + break lock coherency in a cluster. + </para> </listitem> </varlistentry> |