diff options
author | Ralph Boehme <slow@samba.org> | 2018-01-04 17:02:53 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-01-06 00:07:17 +0100 |
commit | b599cb216815415a63504ec69be3f70f08ea58d5 (patch) | |
tree | 2c166992e6ac29e4c2d275917786058080343baf /docs-xml | |
parent | 495c646ec5cbd61539f6c547cd6048d7ff167d30 (diff) | |
download | samba-b599cb216815415a63504ec69be3f70f08ea58d5.tar.gz |
vfs_fileid: add fileid:algorithm = fsname_nodirs
Enabling fileid:algorithm = fsname_nodirs uses the hostname algorithm
for directories and thus breaks cluster lock coherence for directories.
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')
-rw-r--r-- | docs-xml/manpages/vfs_fileid.8.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs-xml/manpages/vfs_fileid.8.xml b/docs-xml/manpages/vfs_fileid.8.xml index 6a09f16cf79..9e8becb6b0c 100644 --- a/docs-xml/manpages/vfs_fileid.8.xml +++ b/docs-xml/manpages/vfs_fileid.8.xml @@ -61,12 +61,18 @@ <term>fileid:algorithm = ALGORITHM</term> <listitem> <para>Available algorithms are <command>fsname</command>, - <command>fsid</command> and <command>hostname</command>. The - default value is <command>fsname</command>. + <command>fsname_nodirs</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. </para> + <para>The <command>fsname_nodirs</command> algorithm generates + device id by hashing the kernel device name for files and by hashing + the hostname for directories. This can be used to deliberately + break lock coherency for directories in a cluster. + </para> <para>The <command>fsid</command> algorithm generates the device id from the <command>f_fsid</command> returned from the <command>statfs()</command> syscall. |