1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/locking
Volker Lendecke 49951b283d smbd: Store share_entries in locking.tdb again
The "base on g_lock" patch is a slowdown because we do more tdb
operations. Getting share_entries.tdb back into locking.tdb tries to
speed things up again.

Now that we're based on g_lock we'll most likely use a different
method in order to spread the entries across multiple records.

It still maintains the sorted array of share modes within locking.tdb,
but not as part of the expensive ndr marshalling of the complete
array.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 15 02:27:49 UTC 2020 on sn-devel-184
2020-05-15 02:27:49 +00:00
..
brlock.c smbd: Use ARRAY_DEL_ELEMENT() in brl_unlock_windows_default() 2020-03-26 14:43:31 +00:00
leases_db.c dbwrap: Pass "value" to dbwrap_do_locked() callback 2019-11-22 23:57:46 +00:00
leases_db.h smbd: Add quick leases_db_get_current_state() 2019-09-17 22:49:36 +00:00
leases_util.c smbd: Let fsp_lease_type() look at leases.tdb 2019-09-17 22:49:36 +00:00
locking.c smbd: Make share_mode_do_locked() use a const uint8_t * 2020-05-05 11:48:40 +00:00
posix.c locking: Move SMB_OFF_T_BITS macro to its only user 2020-05-05 11:48:38 +00:00
proto.h smbd: Make share_mode_do_locked() use a const uint8_t * 2020-05-05 11:48:40 +00:00
share_mode_lock.c smbd: Store share_entries in locking.tdb again 2020-05-15 02:27:49 +00:00