1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/server
Martin Schwenke fed251726f ctdb-ipalloc: Optimise check to see if IPs can be hosted
Add an early return if there are no known IP addresses.

Also add an extra comment for clarification.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12254

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2016-09-14 08:39:29 +02:00
..
ctdb_banning.c ctdb:banning: Improve debug message in ctdb_ban_node_event() 2016-06-01 14:02:20 +02:00
ctdb_call.c ctdb: Use ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01:00
ctdb_cluster_mutex.c ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
ctdb_cluster_mutex.h ctdb-cluster-mutex: Fix #endif decoration 2016-06-08 04:52:18 +02:00
ctdb_control.c ctdb-daemon: Clean up SET_DB_PRIORITY/GET_DB_PRIORITY deprecation 2016-08-08 08:17:34 +02:00
ctdb_daemon.c ctdb-daemon: Fix CID 1362723 Unchecked return value from library 2016-08-17 23:00:25 +02:00
ctdb_event_helper.c ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
ctdb_fork.c ctdb-daemon: Check if method is initialized before calling 2016-07-05 10:53:15 +02:00
ctdb_freeze.c ctdb-daemon: Drop implementation of global transaction controls 2016-07-28 05:00:17 +02:00
ctdb_keepalive.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_lock_helper.c ctdb-locking: Conditionally set real-time priority in lock helper 2016-06-20 16:21:19 +02:00
ctdb_lock.c ctdb-locking: Remove ctdb_db_prio_iterator function 2016-07-25 21:29:43 +02:00
ctdb_logging_file.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_logging_syslog.c ctdb-logging: Fix CID 1272823 Unchecked return value from library 2016-08-17 23:00:25 +02:00
ctdb_logging.c ctdb-daemon: Fix CID 1125627 Resource leak (RESOURCE_LEAK) 2016-08-08 08:17:34 +02:00
ctdb_ltdb_server.c ctdb-daemon: Fix CID 1272855 Operands don't affect result 2016-08-17 23:00:24 +02:00
ctdb_monitor.c ctdb-daemon: Fix CID 1125575 Operands don't affect result 2016-08-17 23:00:24 +02:00
ctdb_mutex_fcntl_helper.c ctdb-mutex: Avoid corner case where helper is already reparented to init 2016-08-08 08:17:34 +02:00
ctdb_persistent.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_recover.c ctdb-daemon: Fix CID 1363067 Resource leak (RESOURCE_LEAK) 2016-08-03 05:29:24 +02:00
ctdb_recoverd.c ctdb-recoverd: Drop code to freeze databases from set_recovery_mode() 2016-09-14 08:39:28 +02:00
ctdb_recovery_helper.c ctdb-recovery-helper: Fix format-nonliteral warning 2016-08-10 08:18:16 +02:00
ctdb_server.c ctdb-daemon: Drop function ctdb_set_recovery_lock_file() 2016-06-08 00:51:28 +02:00
ctdb_statistics.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_takeover.c ctdb-daemon: Compare interface pointers instead of using strcmp(3) 2016-09-08 06:57:21 +02:00
ctdb_traverse.c ctdb: Use ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01:00
ctdb_tunables.c ctdb-daemon: Use refactored tunable code 2016-07-25 21:29:46 +02:00
ctdb_update_record.c ctdb: Use ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01: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-vacuum: Do not use freeze_mode outside freeze code 2016-07-25 21:29:42 +02:00
ctdbd.c ctdb-daemon: Fix CID 1364527/8/9: Null pointer dereferences (NULL_RETURNS) 2016-07-28 05:00:18 +02:00
eventscript.c ctdb-daemon: Don't steal control structure before synchronous reply 2016-09-01 13:30:10 +02:00
ipalloc_common.c ctdb-ipalloc: Drop implicit dependency on ctdb-common 2016-07-04 15:42:26 +02:00
ipalloc_deterministic.c ctdb-ipalloc: Make no_ip_failback a boolean 2016-07-04 15:42:25 +02:00
ipalloc_lcp2.c ctdb-ipalloc: Make no_ip_failback a boolean 2016-07-04 15:42:25 +02:00
ipalloc_nondeterministic.c ctdb-ipalloc: Drop implicit dependency on ctdb-common 2016-07-04 15:42:26 +02:00
ipalloc_private.h ctdb-ipalloc: Store known public IPs in IP allocation state 2016-09-14 08:39:28 +02:00
ipalloc.c ctdb-ipalloc: Optimise check to see if IPs can be hosted 2016-09-14 08:39:29 +02:00
ipalloc.h ctdb-ipalloc: IP allocation state is now an opaque structure 2016-07-04 15:42:25 +02:00