summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Peter Somogyi [Thu, 8 Feb 2007 18:06:14 +0000 (19:06 +0100)]
ib: fragment sent buf + many bugfixes
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.
Peter Somogyi [Fri, 2 Feb 2007 17:54:57 +0000 (18:54 +0100)]
Added variable msg size scenario.
Detected 1 bug, fixing...
Peter Somogyi [Thu, 1 Feb 2007 17:46:44 +0000 (18:46 +0100)]
2 bugfixes
- ibw_stop handling
- ibw_send: < instead of <=
Peter Somogyi [Wed, 31 Jan 2007 11:24:55 +0000 (12:24 +0100)]
merging tridge's code...
Peter Somogyi [Tue, 30 Jan 2007 17:47:26 +0000 (18:47 +0100)]
Added overload test scenario + fixed 1 send queue bug.
TODO: externize debug level
Andrew Tridgell [Mon, 29 Jan 2007 11:30:06 +0000 (22:30 +1100)]
merge status code changes from samba4 ctdb
Andrew Tridgell [Mon, 29 Jan 2007 11:11:16 +0000 (22:11 +1100)]
fix a bug in new structure handling
Peter Somogyi [Fri, 26 Jan 2007 15:45:51 +0000 (16:45 +0100)]
Adjusted debug level and test scenario.
Peter Somogyi [Thu, 25 Jan 2007 17:57:47 +0000 (18:57 +0100)]
Adjusted ib test tool #1.
Now fixed number of pingpong messages can be sent and then exit.
Peter Somogyi [Thu, 25 Jan 2007 13:22:03 +0000 (14:22 +0100)]
Fixed a side effect of previous revert.
Peter Somogyi [Thu, 25 Jan 2007 11:31:33 +0000 (12:31 +0100)]
Merged tridge's branch.
Reverted ib join (will do later).
Peter Somogyi [Thu, 25 Jan 2007 10:01:59 +0000 (11:01 +0100)]
1st "working" ib version.
TODO: stress test, variable size messages, flood
Andrew Tridgell [Thu, 25 Jan 2007 05:13:17 +0000 (16:13 +1100)]
simplified ctdb_call() interface, and made it easier to expand with more parameters later
Andrew Tridgell [Thu, 25 Jan 2007 04:19:16 +0000 (15:19 +1100)]
use ctdb_call_info, so struct ctdb_call can be used for top level call
Andrew Tridgell [Thu, 25 Jan 2007 04:11:36 +0000 (15:11 +1100)]
merge db wrap code from samba4
Andrew Tridgell [Thu, 25 Jan 2007 04:10:40 +0000 (15:10 +1100)]
added copies of libs so can be built standalone
Andrew Tridgell [Tue, 23 Jan 2007 00:38:45 +0000 (11:38 +1100)]
merge fixes from samba4
Peter Somogyi [Fri, 5 Jan 2007 17:13:35 +0000 (18:13 +0100)]
ibw: modified tridge's code - in my point of view
ibw_alloc_send and node-centric params are the basics of these important changes.
Also tried to avoid memcpy/memdup where it was possible.
Peter Somogyi [Thu, 4 Jan 2007 15:44:41 +0000 (16:44 +0100)]
bugfix in ibw_send
Forgot to allow different message pointer than beginning of an allocated buf.
Peter Somogyi [Wed, 3 Jan 2007 16:37:47 +0000 (17:37 +0100)]
+1 ibw function +1 bugfix
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.
Peter Somogyi [Tue, 2 Jan 2007 17:16:39 +0000 (18:16 +0100)]
Joining ctdb and ibwrapper (incomplete).
It compiles.
TODO: modify ctdb as well.
Peter Somogyi [Thu, 21 Dec 2006 16:41:48 +0000 (17:41 +0100)]
Added trace messages + several fixes
Andrew Tridgell [Wed, 20 Dec 2006 22:43:49 +0000 (09:43 +1100)]
merged from peter
Peter Somogyi [Wed, 20 Dec 2006 18:16:30 +0000 (19:16 +0100)]
Added send queue.
TODO: check again & reduce.
Peter Somogyi [Wed, 20 Dec 2006 16:42:58 +0000 (17:42 +0100)]
Made receiver handle partial packets.
Andrew Tridgell [Tue, 19 Dec 2006 23:35:27 +0000 (10:35 +1100)]
merge from Peter
Andrew Tridgell [Tue, 19 Dec 2006 23:32:31 +0000 (10:32 +1100)]
merge from ab
Andrew Tridgell [Tue, 19 Dec 2006 05:27:03 +0000 (16:27 +1100)]
simple ctdb benchmark
Andrew Tridgell [Tue, 19 Dec 2006 01:07:07 +0000 (12:07 +1100)]
enforce the tcp memory alignment in packet queue
Andrew Tridgell [Tue, 19 Dec 2006 01:03:10 +0000 (12:03 +1100)]
added handling of partial packet reads
added transport level packet allocator, allowing the transport to
enforce alignment or special memory rules
Peter Somogyi [Mon, 18 Dec 2006 19:52:49 +0000 (20:52 +0100)]
Modified send logic to allow large messages.
TODO: receiver side.
Alexander Bokovoy [Mon, 18 Dec 2006 14:58:29 +0000 (17:58 +0300)]
Fix cleaning targets to delete proper files
Alexander Bokovoy [Mon, 18 Dec 2006 14:55:48 +0000 (17:55 +0300)]
Fix memory handling
Andrew Tridgell [Mon, 18 Dec 2006 05:26:57 +0000 (16:26 +1100)]
wrap the packet queue call
Andrew Tridgell [Mon, 18 Dec 2006 05:05:22 +0000 (16:05 +1100)]
added a 4 node test
Andrew Tridgell [Mon, 18 Dec 2006 05:01:11 +0000 (16:01 +1100)]
added request_dmaster and reply_dmaster logic
ctdb will now move the dmaster role between nodes after
CTDB_MAX_LACOUNT consecutive accesses by the same node.
Andrew Tridgell [Mon, 18 Dec 2006 03:58:40 +0000 (14:58 +1100)]
added logic for keeping track of the lacount
Andrew Tridgell [Mon, 18 Dec 2006 03:49:32 +0000 (14:49 +1100)]
expanded some comments
Andrew Tridgell [Mon, 18 Dec 2006 03:44:06 +0000 (14:44 +1100)]
added redirect handling
Andrew Tridgell [Mon, 18 Dec 2006 03:27:20 +0000 (14:27 +1100)]
added error reply packets
Andrew Tridgell [Mon, 18 Dec 2006 03:05:49 +0000 (14:05 +1100)]
next step towards dmaster/lmaster code
Andrew Tridgell [Mon, 18 Dec 2006 02:24:02 +0000 (13:24 +1100)]
added storage of extended ltdb header information
Andrew Tridgell [Sat, 16 Dec 2006 00:21:24 +0000 (11:21 +1100)]
merge from peter
Peter Somogyi [Fri, 15 Dec 2006 15:58:49 +0000 (16:58 +0100)]
Added checks for ib libs and headers
Peter Somogyi [Fri, 15 Dec 2006 15:02:45 +0000 (16:02 +0100)]
Made infiniband support configurable.
Adjusted "make distclean" NOT to remove the lib folder (again).
Removed again config.h.in autogenerated file from bzr.
Andrew Tridgell [Fri, 15 Dec 2006 09:21:46 +0000 (20:21 +1100)]
merge IB code from peter
I didn't merge the Makefile.in change as it needs a configure option
to allow people to enable IB, or to test for the headers and
libraries. Peter, are you comfortable doing that?
Peter Somogyi [Thu, 14 Dec 2006 17:21:39 +0000 (18:21 +0100)]
Raw impl. of ibwrapper test tool.
(basic functional test, compilable, untested)
Adjusted makefile and ibwrapper state checking.
Peter Somogyi [Wed, 13 Dec 2006 14:00:41 +0000 (15:00 +0100)]
Made ibwrapper compilable.
Adjusted makefile to include the project.
libibverbs and librdmacm has to be installed with headers.
Peter Somogyi [Wed, 13 Dec 2006 10:02:49 +0000 (11:02 +0100)]
Using struct <type> instead of typedefs.
Peter Somogyi [Tue, 12 Dec 2006 18:09:16 +0000 (19:09 +0100)]
Raw implementation done.
Let's start compilation...
Peter Somogyi [Mon, 11 Dec 2006 18:56:15 +0000 (19:56 +0100)]
Rough implementation of buffer handling.
Many conceptual fix.
Peter Somogyi [Wed, 6 Dec 2006 17:49:46 +0000 (18:49 +0100)]
Implemented cm usage.
TODO: implement verbs user logic.
Peter Somogyi [Tue, 5 Dec 2006 17:48:16 +0000 (18:48 +0100)]
Added some event handling (incomplete)...
Peter Somogyi [Tue, 5 Dec 2006 15:25:43 +0000 (16:25 +0100)]
bzr email plugin test
Peter Somogyi [Tue, 5 Dec 2006 12:17:41 +0000 (13:17 +0100)]
Testing e-mail notification...
Peter Somogyi [Tue, 5 Dec 2006 12:09:48 +0000 (13:09 +0100)]
Using samba DLIST helper macro set.
Andrew Tridgell [Mon, 4 Dec 2006 21:06:15 +0000 (08:06 +1100)]
merged from Peter
Peter Somogyi [Mon, 4 Dec 2006 18:48:11 +0000 (19:48 +0100)]
Implementing basic data structure handling...
Peter Somogyi [Mon, 4 Dec 2006 13:27:46 +0000 (14:27 +0100)]
Just testing the bzr e-mail plugin...
Peter Somogyi [Mon, 4 Dec 2006 13:02:08 +0000 (14:02 +0100)]
Added infiniband transport implementation(incomplete) and interface.
Andrew Tridgell [Fri, 1 Dec 2006 10:16:32 +0000 (21:16 +1100)]
merge from ab
Alexander Bokovoy [Fri, 1 Dec 2006 09:26:21 +0000 (12:26 +0300)]
Provide an alternative CTDB_NO_MEMORY_NULL() for functions which return a pointer
Alexander Bokovoy [Fri, 1 Dec 2006 09:10:18 +0000 (12:10 +0300)]
Merge from tridge
Andrew Tridgell [Fri, 1 Dec 2006 04:54:15 +0000 (15:54 +1100)]
queue up packets to nodes that aren't connected yet. This avoids a
startup race condition in the test suite
Andrew Tridgell [Fri, 1 Dec 2006 04:45:24 +0000 (15:45 +1100)]
- added ctdb_set_flags() call
- added --self-connect option to ctdb_test, allowing testing when a
node connects to itself. not as efficient as local bypass, but very
useful for testing purposes (easier to work with 1 task in gdb than
2)
- split the ctdb_call() into an async triple, in the style of Samba4
async functions. So we now have ctdb_call_send(), ctdb_call_recv()
and ctdb_call().
- added the main ctdb_call protocol logic. No error checking yet, but
seems to work for simple cases
- ensure we initialise the length argument to getsockopt()
Andrew Tridgell [Thu, 30 Nov 2006 23:23:03 +0000 (10:23 +1100)]
- added a 1 node test
- only need 10 elements in test code, more just makes it hard to
follow in a debugger
Andrew Tridgell [Thu, 30 Nov 2006 22:02:17 +0000 (09:02 +1100)]
- fixed the sort function to include the exsting data
- use numbers below 1000 in test code to make debug easier
- use ctdb_connect_wait()
Andrew Tridgell [Thu, 30 Nov 2006 22:01:11 +0000 (09:01 +1100)]
need the header changes too
Andrew Tridgell [Thu, 30 Nov 2006 21:58:08 +0000 (08:58 +1100)]
added ctdb_connect_wait()
Andrew Tridgell [Thu, 30 Nov 2006 20:04:33 +0000 (07:04 +1100)]
merge parts of the changes from ab. Don't merge ctdb_test changes yet
Alexander Bokovoy [Wed, 29 Nov 2006 14:48:52 +0000 (17:48 +0300)]
regenerate configure after changing configure.ac
Alexander Bokovoy [Wed, 29 Nov 2006 14:48:32 +0000 (17:48 +0300)]
change test a bit -- work on whole array of ints and process it in the loop (locally)
Alexander Bokovoy [Wed, 29 Nov 2006 14:48:01 +0000 (17:48 +0300)]
rely on ctdb_test.c for the moment
Alexander Bokovoy [Wed, 29 Nov 2006 14:47:42 +0000 (17:47 +0300)]
Fix ctdb_call() fetching data and ltdb backend flags
Alexander Bokovoy [Wed, 29 Nov 2006 14:45:14 +0000 (17:45 +0300)]
Ignore configure
Alexander Bokovoy [Wed, 29 Nov 2006 14:43:05 +0000 (17:43 +0300)]
Ignore configure
Alexander Bokovoy [Wed, 29 Nov 2006 09:37:24 +0000 (12:37 +0300)]
Merge from tridge
Andrew Tridgell [Tue, 28 Nov 2006 09:48:34 +0000 (20:48 +1100)]
- added in idtree for efficient reqid handling
- started adding ctdb_call() code
- added ctdb_call_local() implementation
Andrew Tridgell [Tue, 28 Nov 2006 06:56:10 +0000 (17:56 +1100)]
- added simple (fake) vnn system
- split up ctdb layer code into 3 modules
- added a simple test suite
- added packet structures for ctdb_call
- switched to an array for ctdb_node to make vnn lookup easy and fast
Andrew Tridgell [Tue, 28 Nov 2006 03:15:46 +0000 (14:15 +1100)]
- setup a convenience name field for nodes
- added basic IO handling for the tcp backend
- added a ctdb_node_dead upcall
- added packet queueing
- adding incoming packet handling
Andrew Tridgell [Tue, 28 Nov 2006 00:51:33 +0000 (11:51 +1100)]
- split up tcp functions into more logical parts
- added upcall methods from transport to ctdb layer
Andrew Tridgell [Mon, 27 Nov 2006 10:41:36 +0000 (21:41 +1100)]
this file is not needed yet
Andrew Tridgell [Mon, 27 Nov 2006 10:38:13 +0000 (21:38 +1100)]
started splitting out transport code
Andrew Tridgell [Mon, 27 Nov 2006 09:35:44 +0000 (20:35 +1100)]
merge from ab
Alexander Bokovoy [Mon, 27 Nov 2006 08:19:03 +0000 (11:19 +0300)]
Fix popt handling, this fixes segfault while asking for --help
Andrew Tridgell [Sat, 18 Nov 2006 04:34:35 +0000 (15:34 +1100)]
example node list
Andrew Tridgell [Sat, 18 Nov 2006 04:33:56 +0000 (15:33 +1100)]
don't talk to ourselves
Andrew Tridgell [Sat, 18 Nov 2006 04:27:36 +0000 (15:27 +1100)]
added a test event loop
Andrew Tridgell [Sat, 18 Nov 2006 03:33:05 +0000 (14:33 +1100)]
added event context
Andrew Tridgell [Sat, 18 Nov 2006 02:48:14 +0000 (13:48 +1100)]
added ignore
Andrew Tridgell [Sat, 18 Nov 2006 02:46:38 +0000 (13:46 +1100)]
stub for ctdb_call
Andrew Tridgell [Sat, 18 Nov 2006 02:45:04 +0000 (13:45 +1100)]
added incoming setup
added ctdb_start
Andrew Tridgell [Sat, 18 Nov 2006 00:21:40 +0000 (11:21 +1100)]
added ctdb_set_address and broke out parsing
Andrew Tridgell [Sat, 18 Nov 2006 00:00:52 +0000 (11:00 +1100)]
get rid of some .svn files
Andrew Tridgell [Fri, 17 Nov 2006 23:57:01 +0000 (10:57 +1100)]
added a README
ignore some files
Andrew Tridgell [Fri, 17 Nov 2006 23:55:55 +0000 (10:55 +1100)]
right include file path
Andrew Tridgell [Fri, 17 Nov 2006 23:41:20 +0000 (10:41 +1100)]
initial version