r24302: add a module that overloads the file_id_create VFS function
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Aug 2007 09:05:18 +0000 (09:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:25 +0000 (12:29 -0500)
commit30f9171cca3e4f523cde7dfc96096c32e5af50be
tree7fcf0fdd6ec6e2cf46112ed624443916f9282e0f
parentdab5449f385248ab1fdd60b240ef6ad4a27ba7f2
r24302: add a module that overloads the file_id_create VFS function
and alters the device id depending on the configured algorithm.

The algorithm is configured via "fileid:algorithm":
- "fsname" (default) uses a uint64 hash over the mount point
- "fsid" uses the fsid returned from statfs()

This is needed for "clustering = yes" on some clusterfilesystems

metze
source/Makefile.in
source/configure.in
source/modules/vfs_fileid.c [new file with mode: 0644]