1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb
Swen Schillig d0ed4a536e ctdb: calculate queue input buffer size correctly
The queue's input buffer is calculated in an iterative way.
This can result in a few back and forth jumping and
a few memory allocations and mem-free cycles.
This is very time consuming and not required, because the required
memory size can be calculated right away.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Aug 18 04:58:05 CEST 2018 on sn-devel-144
2018-08-18 04:58:05 +02:00
..
client ctdb-client: Switch to ETIMEDOUT instead of ETIME 2018-07-28 03:50:10 +02:00
cluster ctdb-cluster: Define cluster configuration file options 2018-05-17 04:04:30 +02:00
common ctdb: calculate queue input buffer size correctly 2018-08-18 04:58:05 +02:00
config ctdb-tests: Replace md5sum with posix cksum 2018-07-28 03:50:11 +02:00
database ctdb-database: Define database configuration file options 2018-05-17 04:04:31 +02:00
doc ctdb-doc: Provide an example script for migrating old configuration 2018-07-30 14:30:06 +02:00
event ctdb-eventd: Fix CID 1438155 2018-08-03 11:14:01 +02:00
ib ctdb-ib: Drop a bit-rotted test example from the README 2018-03-19 02:23:17 +01:00
include ctdb-daemon: Only consider client ID for local database attach 2018-07-02 08:51:22 +02:00
packaging/RPM ctdb-packaging: Enable some standard event scripts if none are enabled 2018-07-11 11:48:39 +02:00
protocol ctdb-common: Add fd argument to ctdb_connection_list_read() 2018-07-28 03:50:11 +02:00
server ctdb-daemon: Switch to using ETIMEDOUT instead of ETIME 2018-07-28 03:50:10 +02:00
tcp ctdb: Remove double sanity checks from ctdb_tcp_read_cb 2018-04-04 09:31:04 +02:00
tests ctdb-event: Implement event tool "script list" command 2018-07-28 17:14:11 +02:00
tools ctdb-common: Add fd argument to ctdb_connection_list_read() 2018-07-28 03:50:11 +02:00
utils ctdb: add expiry test for ctdb_mutex_ceph_rados_helper 2018-08-09 16:26:36 +02:00
.bzrignore
.gitignore ctdb-scripts: Move event scripts to events/legacy/ directory 2018-06-05 17:47:26 +02:00
configure
configure.rpm
COPYING
Makefile ctdb-build: Add WAFLOCK magic to manpages target 2017-02-26 23:13:25 +01:00
README
wscript ctdb/build: link ctdb_mutex_ceph_rados_helper against ceph-common 2018-08-09 13:29:15 +02:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.