1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib
Volker Lendecke 725b3654f8 s3: Avoid a thundering herd in g_lock_unlock
Only notify the first 5 pending lock waiters. This avoids a thundering herd
problem that is really nasty in a cluster. It also makes acquiring a lock a bit
more FIFO, lock waiters are added to the end of the array.
2010-02-16 13:21:10 +01:00
..
eventlog s3: Remove some pointless uses of string_sid_talloc 2010-01-23 14:35:37 +01:00
ldb util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1) 2010-02-10 15:53:58 -08:00
netapi s3:netapi: remove unused variable 2010-01-26 00:19:09 +01:00
smbconf s3:libsmbconf: fix a comment typo 2009-04-27 13:25:07 +02:00
access.c Use sockaddr_storage only where we rely on the size, use sockaddr 2008-10-23 19:53:15 +02:00
account_pol.c s3-account_policy: add pdb_policy_type enum. 2009-07-14 12:12:18 +02:00
adt_tree.c s3: Remove unused comparison fn from "struct sorted_tree" 2010-02-13 13:26:11 +01:00
afs_settoken.c Use sec_initial_uid() in the places where being root doesn't matter, 2010-02-12 23:18:53 -08:00
afs.c Fix bug 6136: New AFS syscall conventions 2009-05-03 22:16:01 +02:00
audit.c
avahi.c Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash 2009-03-26 10:05:27 +01:00
bitmap.c Fix some nonempty blank lines 2009-08-07 13:02:15 +02:00
charcnv.c Use a switch statement in charset_name() 2009-07-25 12:58:06 -04:00
clobber.c
conn_tdb.c Fix some nonempty blank lines 2009-08-07 13:02:15 +02:00
ctdbd_conn.c s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection 2010-02-12 23:12:12 +01:00
dbwrap_ctdb.c s3:dbwrap_ctdb: fix reading/storing of special key __db_sequence_number__ 2010-02-12 23:12:12 +01:00
dbwrap_file.c Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal. 2008-10-18 16:16:57 +02:00
dbwrap_rbt.c Implement db_rbt_traverse 2009-08-08 13:44:31 +02:00
dbwrap_tdb.c Replace short-lived NULL talloc contexts with talloc_tos(). 2009-07-16 18:13:46 -07:00
dbwrap_util.c s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901) 2009-11-21 00:49:29 +01:00
dbwrap.c s3: Remove a pointless #endif/#ifdef pair 2009-10-22 16:33:44 +02:00
debug.c Use sec_initial_uid() in the places where being root doesn't matter, 2010-02-12 23:18:53 -08:00
dmallocmsg.c
dprintf.c s3: Fix Coverity ID 581 -- NEGATIVE_RETURNS 2009-09-18 20:20:39 +02:00
dummyroot.c
dummysmbd.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
errmap_unix.c s3:error_map: make NTSTATUS -> errno -> NTSTATUS mapping consistent for NT_STATUS_INVALID_PARAMETER 2009-08-27 16:45:39 +02:00
events.c s3-events: make the old timed events compatible with tevent 2010-02-05 22:17:54 -08:00
fault.c Use sec_initial_uid() in the places where being root doesn't matter, 2010-02-12 23:18:53 -08:00
file_id.c Make the smbd VFS typesafe 2009-07-24 11:42:05 -04:00
fncall.c Add fncall_send/recv 2009-05-01 12:30:59 +02:00
g_lock.c s3: Avoid a thundering herd in g_lock_unlock 2010-02-16 13:21:10 +01:00
gencache.c s3: let gencache_init() use tdb_check() 2009-12-07 19:57:01 +01:00
iconv.c Fix some nonempty blank lines 2009-07-25 12:58:06 -04:00
idmap_cache.c Move idmap_cache.c from winbindd/ to lib/ 2008-08-26 12:56:47 -07:00
interface.c s3:load_interfaces(): use function gfree_interfaces() that we have. 2009-11-18 22:19:18 +01:00
interfaces.c s3-lib: use TYPESAFE_QSORT() in s3 interfaces code 2010-02-14 18:44:20 +11:00
ldap_debug_handler.c More warning fixes for Solaris. 2009-02-23 16:22:43 -08:00
ldap_escape.c Make escape_ldap_string take a talloc context 2009-07-09 22:25:29 +02:00
memcache.c s3-memcache: update memcache to use new DLIST macros 2010-02-10 15:38:31 -08:00
messages_ctdbd.c first cut at adding full transactions for ctdb to samba3 2008-08-13 11:54:08 +02:00
messages_local.c Use TDB_VOLATILE instead of tdb_set_max_dead() 2009-05-19 14:54:53 +02:00
messages.c fixed a bug in message handling for code the change notify code 2009-03-10 16:45:45 +11:00
module.c Remove sys_dl*() - stubs are already provided by libreplace. 2008-11-01 03:49:49 +01:00
ms_fnmatch.c s3: Fix a bool/enum mismatch 2009-11-21 20:49:16 +01:00
packet.c s3: Add parameter "ctdb timeout" 2009-11-05 12:05:36 +01:00
pam_errors.c
pidfile.c Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it." 2009-07-03 12:41:08 +02:00
popt_common.c s3: Add -C (--use-ccache) to popt_common_credentials 2010-01-24 20:32:17 +01:00
privileges_basic.c s3-privileges: remove trailing whitespace from privileges codes. 2009-05-16 01:27:51 +02:00
privileges.c s3-privileges: add privilege_delete_account(). 2009-05-16 01:27:51 +02:00
pthreadpool.c Many build farm boxes do not have clock_gettime 2009-05-01 21:43:25 +02:00
readline.c Coverity fix #CID: 607 - resource leak on error path. 2008-10-29 15:55:45 -07:00
recvfile.c Several fixes to our use of splice 2009-01-07 12:04:44 +01:00
secdesc.c Restructure the ACL code some more, get the internal semantics 2009-12-02 15:02:28 -08:00
select.c s3:lib/select: don't overwrite errno in the signal handler 2009-09-21 05:55:05 +02:00
sendfile.c Clean up assignments to iov_base, ensure it's always cast to void *. This should quieten some warnings with picky compilers on the buildfarm. 2009-05-12 11:45:37 -07:00
server_mutex.c Use a separate tdb for mutexes 2008-03-10 21:08:45 +01:00
sharesec.c s3/smbd: open the share_info.tdb on startup instead of tconx 2009-08-26 16:34:10 -07:00
smbldap_util.c Make escape_ldap_string take a talloc context 2009-07-09 22:25:29 +02:00
smbldap.c s3:smbldap: add smbldap_talloc_first_attribute() 2010-01-14 02:26:29 +01:00
smbrun.c Add checks for non_root mode to help buildfarm spoolss tests. 2009-05-11 09:42:08 -07:00
sock_exec.c Coverity fixes 2008-03-17 20:52:25 +01:00
substitute.c s3: Make alloc_sub_basic() static 2009-11-21 20:54:10 +01:00
sysacls.c
sysquotas_4A.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas_linux.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas_xfs.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas.c s3: "sys_path_to_bdev" only looks at the devicenumber 2009-11-29 11:22:04 +01:00
system_smbd.c s3: Fix initgroups return check 2010-02-14 12:45:04 +01:00
system.c Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write. 2010-01-26 16:51:57 -08:00
talloc_dict.c s3: Add talloc_dict.[ch] 2009-08-16 12:38:19 +02:00
tallocmsg.c s3: For "smbcontrol <pid> pool-usage", print the first 50 bytes of a string 2010-01-17 15:04:25 +01:00
tdb_validate.c s3: let tdb_validate_child() use tdb_check() 2009-12-07 19:56:55 +01:00
tdb_validate.h Fix the build on "opi" 2009-01-29 21:38:05 +01:00
time.c s3-time: fix build warnings after we moved to shared time functions. 2010-01-08 12:35:25 +01:00
tldap_util.c Add tldap_pull_guid 2009-07-04 12:54:22 +02:00
tldap.c s3:tldap: fix the build - a void function should not return a value 2009-07-15 20:59:34 +02:00
username.c
util_file.c Fix a talloc/malloc screwup in file_lines_pload 2009-03-26 14:58:38 +01:00
util_nscd.c s3: Fix incorrect rc check of nscd_flush_cache. 2009-10-29 11:11:43 -04:00
util_nttoken.c Move secace.c to top-level. 2009-03-01 18:00:26 +01:00
util_pw.c Make memcache_add_talloc NULL out the source pointer 2008-11-14 20:27:46 +01:00
util_reg_api.c s3-registry: fix REG_MULTI_SZ handling in registry_push_value. 2009-11-25 21:39:49 +01:00
util_reg.c s3-registry: remove reg_pull_multi_sz(). 2009-11-24 15:47:59 +01:00
util_seaccess.c s3: Remove unused samr_make_sam_obj_sd 2010-01-10 20:56:16 +01:00
util_sec.c
util_sid.c Revert "s3: Make string_to_sid a wrapper around dom_sid_parse" 2010-01-25 12:41:48 +01:00
util_sock.c libcli:nbt make the lmhosts parsing code and dependicies common 2009-09-15 07:42:54 -07:00
util_str.c Revert 918b5a7e05. This code 2009-09-24 15:42:36 -07:00
util_tdb.c Fix some nonempty blank lines 2009-08-07 13:02:15 +02:00
util_transfer_file.c
util_tsock.c Add tstream_read_packet 2009-06-27 23:17:49 +02:00
util_unistr.c s3: remove unused rpcstr_pull and rpcstr_pull_talloc. 2009-10-01 11:40:31 +02:00
util_uuid.c Make sid_binstring & friends take a talloc context 2009-05-28 11:33:21 +02:00
util.c s3: Add -C (--use-ccache) to popt_common_credentials 2010-01-24 20:32:17 +01:00
version_test.c add a versiontest program to print samba_version_string(). 2009-03-19 23:57:35 +01:00
version.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00
winbind_util.c Fix some nonempty blank lines 2009-08-07 13:02:15 +02:00
wins_srv.c Fix some nonempty blank lines 2009-08-07 13:02:15 +02:00