1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/include
Stefan Metzmacher 87fddbad78 smbd/locking: make use of the same tdb hash_size and flags for all SMB related tdb's
It's good to have a consistent set of hash_size/flags for all aspects of
an open file handle. Currently we're using 4 databases:
smbXsrv_open_global.tdb, leases.tdb, locking.tdb and brlock.tdb.

While at it also crank up the hashsize if the smbXsrv_tcon and smbXsrv_session
TDBs. The default TDB hash size is insanely small and disk space is cheap these
days, by going with the much larger hash size we get O(1) lookup instead of O(n)
for moderate to large loads with a few thousand objects.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Dec 19 16:40:15 UTC 2022 on sn-devel-184
2022-12-19 16:40:15 +00:00
..
ads.h s3-librpc: add ads.idl and convert ads_struct to talloc. 2022-12-16 20:38:32 +00:00
adt_tree.h lib: Whitespace fixes 2022-10-27 18:18:36 +00:00
async_smb.h
auth_generic.h
auth.h auth: Remove the "typedef auth_methods" 2020-01-06 01:47:30 +00:00
client.h libcli: Add client support for SMB2_FILE_POSIX_INFORMATION 2022-11-29 10:26:37 +00:00
ctdb_srvids.h
ctdbd_conn.h s3:ctdbd_conn: simplify get_public_ips() / find_in_public_ips() API 2020-10-14 12:29:55 +00:00
fake_file.h smbd: add dosmode_from_fake_filehandle() 2021-06-09 19:47:34 +00:00
g_lock.h s3:g_lock: add callback function to g_lock_lock() 2022-09-20 00:34:35 +00:00
idmap_autorid_tdb.h
idmap.h winbindd/idmap: apply const to struct idmap_methods pointers 2020-10-23 03:25:35 +00:00
includes.h smbd: cache DOS attributes in struct smb_filename.cached_dos_attributes 2022-08-29 17:22:32 +00:00
intl.h
krb5_env.h
libsmb_internal.h libsmb: Convert SMBC_getatr() to NTSTATUS 2022-02-07 19:00:34 +00:00
libsmbclient.h libsmbclient: Fix a typo 2022-08-26 18:54:37 +00:00
local.h smbd/locking: make use of the same tdb hash_size and flags for all SMB related tdb's 2022-12-19 16:40:15 +00:00
locking.h s3: smbd: Add "enum brl_flavour" to struct smbd_lock_element. 2022-01-06 15:11:38 +00:00
lsa.h
MacExtensions.h vfs_fruit: Fix typos 2020-10-02 21:30:33 +00:00
mangle.h
messages.h lib: Fix includes for messages.h 2020-10-24 05:57:31 +00:00
msdfs.h s3: smbd: Remove definition of struct dfs_path. 2022-08-12 18:19:30 +00:00
nameserv.h
nss_info.h winbindd/idmap: apply const to struct nss_info_methods pointers 2020-10-23 03:25:35 +00:00
nt_printing.h printing: Fix a typo 2021-03-16 17:09:31 +00:00
ntdomain.h s3:rpc_server: Remove dead code 2020-03-20 17:11:28 +00:00
ntioctl.h libcli: Move IO_REPARSE_TAG definitions to smb_constants.h 2020-06-15 17:59:39 +00:00
ntquotas.h
passdb.h
printing.h printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
proto.h smbd: Remove source3/smbd/statcache.c 2022-12-14 22:54:29 +00:00
registry.h
rpc_dce.h
rpc_misc.h
secrets.h s3:passdb: Remove unused function secrets_fetch_trust_account_password() 2022-08-08 19:03:08 +00:00
serverid.h
session.h s3:smbstatus: pretty print the use of new signing/encryption algorithms 2021-07-15 00:06:31 +00:00
smb_acls.h s3: lib: sysacls: Remove all implementations of sys_acl_set_file(). 2021-06-09 13:14:31 +00:00
smb_krb5.h
smb_ldap.h
smb_macros.h lib: Remove two unused macros 2022-10-27 18:18:36 +00:00
smb_perfcount.h
smb.h lib: Move extract_snapshot_token() to util_path.c 2022-09-19 17:23:31 +00:00
smbldap.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
smbprofile.h vfs: Add SMB_VFS_FSTATAT 2022-03-10 18:23:35 +00:00
srvstr.h
stamp-h.in
sysquotas.h
tldap_util.h
tldap.h
trans2.h smbd: Implement SMB2_FS_POSIX_INFORMATION_INTERNAL 2022-11-29 10:26:37 +00:00
transfer_file.h
util_event.h
util_sd.h
util_tdb.h
vfs_macros.h vfs: Add dirfsp to connectpath_fn() 2022-09-17 04:15:35 +00:00
vfs.h vfs: Fix whitespace 2022-12-14 22:54:29 +00:00