mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
87fddbad78
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 |
||
---|---|---|
.. | ||
brlock.c | ||
leases_db.c | ||
leases_db.h | ||
leases_util.c | ||
locking.c | ||
posix.c | ||
proto.h | ||
share_mode_lock_private.h | ||
share_mode_lock.c | ||
share_mode_lock.h |