s3:vfs_fileid: add 'fileid:nolock_all_dirs = BOOL'
authorStefan Metzmacher <metze@samba.org>
Wed, 29 Jun 2022 15:50:08 +0000 (17:50 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Jul 2022 15:09:35 +0000 (15:09 +0000)
commitdc478f4897fe5b8b1ca941f44d1b025a3130ae0a
tree6a04a1405196d9a6c4a4f018d0640f329275a0a8
parentd0d9732acd3dff2511f5a9c0a80aba372b6255e2
s3:vfs_fileid: add 'fileid:nolock_all_dirs = BOOL'

This adds the feature of the 'fsname_nodirs' algorithm,
but provides it for all algorithms, including 'next_module'.

This can be used to deliberately break lock coherency, but
keep the devid/inode pair untouched, e.g.

  vfs objects = fileid
  fileid:algorithm = next_module
  fileid:nolock_all_dirs = yes

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_fileid.c