1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/server
Martin Schwenke 5af2f09a1f ctdb-server: Optimise local IP verification
It is more efficient calling ctdb_sys_local_ip_check() inside a loop
compared to calling ctdb_sys_have_ip().  There is a chance that this
is premature optimisation... but it sure is easy.  Fall back to
checking with bind().

I think these checks really exist because of the weirdness fixed by
commit 4b4e4d8870.  However, we might as
well do what we can.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
2024-10-07 15:58:38 +00:00
..
ctdb_banning.c ctdb-daemon: Drop unused function ctdb_local_node_got_banned() 2019-08-20 07:15:41 +00:00
ctdb_call.c ctdb-server: Avoid logging a count of 0 resent calls 2023-07-10 15:15:06 +00:00
ctdb_client.c ctdb-daemon: Drop unused old client recmaster functions 2022-01-17 10:21:33 +00:00
ctdb_cluster_mutex.c ctdb-mutex: Drop dependency on ctdb_set_helper 2019-07-26 03:34:17 +00:00
ctdb_cluster_mutex.h ctdb-cluster-mutex: Fix #endif decoration 2016-06-08 04:52:18 +02:00
ctdb_control.c ctdb-server: Implement CTDB_CONTROL_START_IPREALLOCATE 2024-03-06 06:05:38 +00:00
ctdb_daemon.c ctdb-server: rename nodes_file field to nodes_source 2024-08-06 00:43:36 +00:00
ctdb_fork.c ctdb: Change the ctdb_vfork_exec prototype to const char*const* 2024-09-22 09:36:36 +00:00
ctdb_freeze.c ctdb-daemon: Add implementation of VACUUM_FETCH control 2019-10-24 04:06:42 +00:00
ctdb_keepalive.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_lock_helper.c ctdb-locking: Don't pass NULL to tevent_req_is_unix_error() 2022-05-03 09:19:31 +00:00
ctdb_lock.c ctdb: Use str_list_add_printf() in lock_helper_args() 2024-09-22 10:44:59 +00:00
ctdb_logging.c ctdb-daemon: Use DEBUG() macro for child logging 2022-06-16 13:33:10 +00:00
ctdb_ltdb_server.c ctdb-conf: Move all conf files to new conf/ subdirectory 2024-06-28 18:43:52 +05:30
ctdb_monitor.c ctdb-daemon: Ignore flag changes for disconnected nodes 2021-09-09 01:46:49 +00:00
ctdb_mutex_fcntl_helper.c ctdb: Fix the build on FreeBSD 2023-01-18 11:49:38 +00:00
ctdb_persistent.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_recover.c ctdb-server: rename ctdb_load_nodes_file to ctdb_load_nodes 2024-08-06 00:43:36 +00:00
ctdb_recoverd.c ctdb-server: Optimise local IP verification 2024-10-07 15:58:38 +00:00
ctdb_recovery_helper.c ctdb-recovery: Use correct struct ban_node_state type for state 2023-05-03 08:04:09 +00:00
ctdb_server.c ctdb: Add a NULL check to convert_node_map_to_list() 2024-08-27 07:19:32 +00:00
ctdb_statistics.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_takeover_helper.c ctdb-takeover: Use CTDB_CONTROL_START_IPREALLOCATE 2024-03-06 06:05:38 +00:00
ctdb_takeover.c ctdb-conf: Move all conf files to new conf/ subdirectory 2024-06-28 18:43:52 +05:30
ctdb_traverse.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_tunables.c ctdb-daemon: New function ctdb_tunables_load() 2022-04-06 06:34:37 +00:00
ctdb_tunnel.c ctdb-daemon: Add code to process ctdb_req_tunnel packets 2017-10-10 11:45:19 +02:00
ctdb_update_record.c ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
ctdb_uptime.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_vacuum.c ctdb: Fix code spelling 2023-09-11 02:42:41 +00:00
ctdbd.c ctdb-daemon: Remove a use of ctdb_errstr() 2024-08-20 13:06:33 +00:00
eventscript.c ctdb-daemon: Implement startipreallocate event 2024-03-06 06:05:38 +00:00
ipalloc_common.c ctdb:server: Fix code spelling 2023-03-24 07:01:31 +00:00
ipalloc_deterministic.c ctdb: Add "home_nodes" file to deterministic IP allocation 2023-10-10 14:17:19 +00:00
ipalloc_lcp2.c ctdb:server: Fix code spelling 2023-03-24 07:01:31 +00:00
ipalloc_nondeterministic.c ctdb:server: Fix code spelling 2023-03-24 07:01:31 +00:00
ipalloc_private.h ctdb-ipalloc: Fix signed/unsigned comparisons by declaring as unsigned 2019-06-05 10:25:50 +00:00
ipalloc.c ctdb: Covscan: unchecked return value for trbt_traversearray32() 2022-05-14 03:49:32 +00:00
ipalloc.h ctdb-daemon: Drop the noiphost "node flags" bitmap 2018-07-11 11:48:38 +02:00