| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
For compatibility with current Samba debug.[ch].
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update included header files and fix compilation warnings.
ib/ibwrapper.c: In function ‘ibw_stop’:
ib/ibwrapper.c:1015:17: warning: comparison between ‘enum ibw_state_ctx’ and ‘enum ibw_state_conn’ [-Wenum-compare]
if (ctx->state==IBWC_ERROR || ctx->state==IBWC_CONNECTED) {
^
ib/ibwrapper.c:1015:43: warning: comparison between ‘enum ibw_state_ctx’ and ‘enum ibw_state_conn’ [-Wenum-compare]
if (ctx->state==IBWC_ERROR || ctx->state==IBWC_CONNECTED) {
The current logic just seems wrong. The context of this line and the
error checking in ibw_disconnect() suggest that these comparisons
should use p->state rather than ctx->state, so do that.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 0681014ca5ed2a9b56f63fdace7f894beccf8a9a)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Samba this is now called "tevent", and while we use the backwards
compatibility wrappers they don't offer EVENT_FD_AUTOCLOSE: that is now
a separate tevent_fd_set_auto_close() function.
This is based on Samba version 7f29f817fa939ef1bbb740584f09e76e2ecd5b06.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(This used to be ctdb commit 85e5e760cc91eb3157d3a88996ce474491646726)
|
|
|
|
|
|
| |
Most of these were found during a review by Jim Meyering <meyering@redhat.com>
(This used to be ctdb commit 3aee5ee1deb4a19be3bd3a4ce3abbe09de763344)
|
|
|
|
| |
(This used to be ctdb commit e7b57d38cf7255be823a223cf15b7526285b4f1c)
|
|
|
|
| |
(This used to be ctdb commit 7ba8f1dde318eab03f4257e5a89fd23e7281e502)
|
|
|
|
| |
(This used to be ctdb commit b7be4ee6c9a670cdf148fd36b092c3991a554964)
|
|
|
|
| |
(This used to be ctdb commit f0555484105668c01c21f56322992e752e831109)
|
|
|
|
| |
(This used to be ctdb commit 9a810d1f3201ec559d1f4f20ef4a42d7aa7090c4)
|
|
|
|
| |
(This used to be ctdb commit 4c11d4a990b792d3bc36e062c674e9573c6de821)
|
|
|
|
| |
(This used to be ctdb commit 1942c21fe7b52f2b0c8f6895bdc7efd70505a9db)
|
|\
| |
| |
| | |
(This used to be ctdb commit 15e18293eaa5ddcd325395213014b5a4498ca309)
|
| |
| |
| |
| | |
(This used to be ctdb commit 080b6901173afb2ad618dd0621876ff478c7d6e5)
|
|/
|
|
|
|
| |
it sent message in both (or all) direction at the same time. Now it measures normal pingpong.
(This used to be ctdb commit 26646aa91eb4e31efe6bacd92806ef7477b03bb7)
|
|
|
|
|
|
|
|
| |
Workaround is because I couldn't find a correct way in ib to reconnect cleanly (with queue kept) when destination is unreachable.
When connection is broken, all internal queue contents are being destroyed and reconnects automatically.
An "external" send queue is kept until the connection is up again for a dest node.
(This used to be ctdb commit 49cac6eafb9d9c80ef1c7f0388aa7786c8be6f24)
|
|
|
|
|
|
| |
TODO: bugfix of ctdb_bench (wants to sent via uninitialised connection - see bench_ring/dest)
(This used to be ctdb commit 61516461e9d45dc7ba87518d134894fed7d7b7cd)
|
|
|
|
|
|
|
| |
TODO: bugfix (not yet complete, something happens differently than expected
at tcpip when connection is refused in the beginning)
(This used to be ctdb commit 330d76fb91f717d4fb8d1be29c11ddf8c25a4f1c)
|
|
(This used to be ctdb commit fa39ad5054de6e781ca980b9e24d22fa0c67e9ae)
|