| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
the previous patch.
(This used to be ctdb commit d623ea7c04daa6349b42d50862843c9f86115488)
|
|
|
|
|
|
| |
Most of these were found during a review by Jim Meyering <meyering@redhat.com>
(This used to be ctdb commit 3aee5ee1deb4a19be3bd3a4ce3abbe09de763344)
|
|
|
|
|
|
|
|
| |
directory to $PATH if local daemons are being used.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit a497010f67d6a8e68f4d6d7e516b88d2261b1062)
|
|
|
|
| |
(This used to be ctdb commit e7b57d38cf7255be823a223cf15b7526285b4f1c)
|
|
|
|
| |
(This used to be ctdb commit 7ba8f1dde318eab03f4257e5a89fd23e7281e502)
|
|
|
|
| |
(This used to be ctdb commit 7f7a184bae87d46bd589d11068b6443b007366b4)
|
|
|
|
| |
(This used to be ctdb commit d318504ad5a49dbdfa307be39ae88df839e6308d)
|
|
|
|
| |
(This used to be ctdb commit b7be4ee6c9a670cdf148fd36b092c3991a554964)
|
|
|
|
| |
(This used to be ctdb commit f0555484105668c01c21f56322992e752e831109)
|
|
|
|
| |
(This used to be ctdb commit ad16c5fe2748b48a6f6c79976359d56d9bed33f4)
|
|
|
|
| |
(This used to be ctdb commit 4a9455dfbe95e53884b46ad26dba0c33e3432ba9)
|
|
|
|
|
|
| |
startup event script has run
(This used to be ctdb commit afca3cc74211aa2e18b1f74d36b2add8dffcfdc7)
|
|
|
|
| |
(This used to be ctdb commit 64bf6964ff33320c5351337c7f8ed4da5bd71275)
|
|
|
|
| |
(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 ddf390da2bceb5b3f431433aec424d99d98c05f4)
|
| |
| |
| |
| | |
(This used to be ctdb commit 43e4b83fc796b05baccfff6a34df398c821aa018)
|
| |
| |
| |
| |
| |
| | |
reverted my suggestion in debug.c (based on my false error detection)
(This used to be ctdb commit 5c52c9f37639c65b551c10d1706c49653cd99742)
|
| |
| |
| |
| |
| |
| |
| | |
- make ctdb capable of alternative connection (like ib) again, solved the fork problem
- do_debug memory overwrite bugfix (occured using ibwrapper_test with wrong address given)
(This used to be ctdb commit da0b84cda26d544f63841dfd770ed7ebad401944)
|
| |\
| |/
|/|
| | |
(This used to be ctdb commit d9046da5219144afe68f5a376243d998e7068ccd)
|
| |\
| | |
| | |
| | | |
(This used to be ctdb commit 15e18293eaa5ddcd325395213014b5a4498ca309)
|
| | |
| | |
| | |
| | |
| | |
| | | |
it sent message in both (or all) direction at the same time. Now it measures normal pingpong.
(This used to be ctdb commit 26646aa91eb4e31efe6bacd92806ef7477b03bb7)
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
us to put memory directly in the right context, avoiding quite a few
talloc_steal calls, and simplifying the code
- make the fetch lock code in the daemon fully async
(This used to be ctdb commit d98b4b4fcadad614861c0d44a3854d97b01d0f74)
|
|/
|
|
| |
(This used to be ctdb commit 080b6901173afb2ad618dd0621876ff478c7d6e5)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
It came to light I have to fragment the send buffer in case destination's to fit receiver's buffers.
Additionally fixed many bugs.
Still testing.
+ TODO: clean code.
(This used to be ctdb commit 2f8876f09bc92169487cb077326579044560a121)
|
|
|
|
|
|
|
| |
- ibw_stop handling
- ibw_send: < instead of <=
(This used to be ctdb commit 4774ef7e9e33f26745346b9bfe445d913f196e81)
|
|
|
|
|
|
| |
TODO: externize debug level
(This used to be ctdb commit 98442ce3e2b3f09ca6736abfa0a8314cbdafaac7)
|
|
|
|
| |
(This used to be ctdb commit 08d013df5c6389c471036b20758463a844d33027)
|
|
|
|
|
|
| |
TODO: stress test, variable size messages, flood
(This used to be ctdb commit 5f2a834fdcebe349aad095010ae01cce788b6482)
|
|
|
|
|
|
|
| |
ibw_alloc_send and node-centric params are the basics of these important changes.
Also tried to avoid memcpy/memdup where it was possible.
(This used to be ctdb commit 9e8cb9b96c685288c04ee8b69a972f582cd3c904)
|
|
|
|
|
|
| |
Forgot to allow different message pointer than beginning of an allocated buf.
(This used to be ctdb commit de6f7ae87f17ab5c99f5cf369baa499cca96dee5)
|
|
|
|
|
|
|
| |
Added ibw_cancel_send_buf to allow not sending the message after an ibw_alloc_send_buf.
Renamed "n" to "len" and changed its type.
(This used to be ctdb commit c8eb66296b99e528781ce05846aa86205830a1a0)
|
|\
| |
| |
| |
| |
| |
| |
| | |
It compiles.
TODO: modify ctdb as well.
(This used to be ctdb commit a080b85a5d8e46946f8308bb6c76aa62b5a254db)
|
|/
|
|
| |
(This used to be ctdb commit 7d05cb6d0d8f222d7ba1cb1fe939d06a2176f3b6)
|
|
|
|
|
|
| |
TODO: check again & reduce.
(This used to be ctdb commit 131c41f6f3e08097e7e0fab852b2a64183c695ec)
|
|\
| |
| |
| | |
(This used to be ctdb commit 808fd658552e489825fb22453755e225549ebfcc)
|
|/
|
|
|
|
| |
TODO: receiver side.
(This used to be ctdb commit 5ca8a53b10990a09390f174bf5eacf07fc5540c2)
|
|
|
|
| |
(This used to be ctdb commit 0fecfdea111f2f5d25eadce04c5f35dffca29b26)
|
|
|
|
|
|
|
| |
Adjusted "make distclean" NOT to remove the lib folder (again).
Removed again config.h.in autogenerated file from bzr.
(This used to be ctdb commit 3c264205157c8c2af03bca0051a1fe715c8470e5)
|
|
|
|
|
|
|
| |
(basic functional test, compilable, untested)
Adjusted makefile and ibwrapper state checking.
(This used to be ctdb commit 82410f42fe5d428eda0ba96c11774e142f672d24)
|
|
|
|
|
|
|
| |
Adjusted makefile to include the project.
libibverbs and librdmacm has to be installed with headers.
(This used to be ctdb commit 372dc670a7aeb5887c4f24bd5466aa6a77e22f1f)
|
|
|
|
| |
(This used to be ctdb commit d830c1ca25b13e82357f439a2ba39540f81a6ecd)
|