Peter Somogyi
96f10d7ff4
Added trace messages + several fixes
...
(This used to be ctdb commit 7d05cb6d0d8f222d7ba1cb1fe939d06a2176f3b6)
2006-12-21 17:41:48 +01:00
Peter Somogyi
2e056a7553
Added send queue.
...
TODO: check again & reduce.
(This used to be ctdb commit 131c41f6f3e08097e7e0fab852b2a64183c695ec)
2006-12-20 19:16:30 +01:00
Peter Somogyi
efd2903e0f
Made receiver handle partial packets.
...
(This used to be ctdb commit 808fd658552e489825fb22453755e225549ebfcc)
2006-12-20 17:42:58 +01:00
Andrew Tridgell
e667345409
merge from Peter
...
(This used to be ctdb commit 19bbfc7eeaccb795782647c743690cf5c131796d)
2006-12-20 10:35:27 +11:00
Andrew Tridgell
9a2ca05372
merge from ab
...
(This used to be ctdb commit 5074b6e84704e213f733cebc92c62ca135f03cd6)
2006-12-20 10:32:31 +11:00
Andrew Tridgell
6dbaa5abfc
simple ctdb benchmark
...
(This used to be ctdb commit eb80fd212472fe3b111dabe7adf6dd507fe3656a)
2006-12-19 16:27:03 +11:00
Andrew Tridgell
a3f91ddf57
enforce the tcp memory alignment in packet queue
...
(This used to be ctdb commit 222f53a3205509a45fbc3267297521df22a414ec)
2006-12-19 12:07:07 +11:00
Andrew Tridgell
3c097c9a5f
added handling of partial packet reads
...
added transport level packet allocator, allowing the transport to
enforce alignment or special memory rules
(This used to be ctdb commit 50304a5c4d8d640732678eeed793857334ca5ec1)
2006-12-19 12:03:10 +11:00
Peter Somogyi
96035955be
Modified send logic to allow large messages.
...
TODO: receiver side.
(This used to be ctdb commit 5ca8a53b10990a09390f174bf5eacf07fc5540c2)
2006-12-18 20:52:49 +01:00
Alexander Bokovoy
fc2d20e41e
Fix cleaning targets to delete proper files
...
(This used to be ctdb commit 3af84af196e64332fa3ede0689c026b1faa97466)
2006-12-18 17:58:29 +03:00
Alexander Bokovoy
1d8c33e2a1
Fix memory handling
...
(This used to be ctdb commit a7ff834cec4c44eee7d1a84218e050a45b94d599)
2006-12-18 17:55:48 +03:00
Andrew Tridgell
ee547a0f9a
wrap the packet queue call
...
(This used to be ctdb commit 4dd8ffd5752aedcaf0b8ad1941a5f84ec1ca2868)
2006-12-18 16:26:57 +11:00
Andrew Tridgell
1f44ccb569
added a 4 node test
...
(This used to be ctdb commit 982468d0770684ec18cf95e3f254250debf4fd4c)
2006-12-18 16:05:22 +11:00
Andrew Tridgell
ab7185c2ce
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.
(This used to be ctdb commit af87f587d8f70192ecac0125054bf9583a4849a7)
2006-12-18 16:01:11 +11:00
Andrew Tridgell
26fd5c44bb
added logic for keeping track of the lacount
...
(This used to be ctdb commit efda7735a950a129814e6a7de8bbf5432b867c68)
2006-12-18 14:58:40 +11:00
Andrew Tridgell
0ef74421b4
expanded some comments
...
(This used to be ctdb commit cf544e986d5837cc878792af571bdb23cc487882)
2006-12-18 14:49:32 +11:00
Andrew Tridgell
ceda8326e3
added redirect handling
...
(This used to be ctdb commit 3c1dc8b98c8e843c44a172ac15e67f4ab8c47500)
2006-12-18 14:44:06 +11:00
Andrew Tridgell
f78c238b6d
added error reply packets
...
(This used to be ctdb commit 49ee165808985ce0fa174dd6e05292871d3f3130)
2006-12-18 14:27:20 +11:00
Andrew Tridgell
abf3b910be
next step towards dmaster/lmaster code
...
(This used to be ctdb commit 95e7be8d1aaafafb574c406fe778093606a28be8)
2006-12-18 14:05:49 +11:00
Andrew Tridgell
3804b8b3e4
added storage of extended ltdb header information
...
(This used to be ctdb commit a18c9411081a4e5997bf030fa924abfc33fb3310)
2006-12-18 13:24:02 +11:00
Andrew Tridgell
43654fa596
merge from peter
...
(This used to be ctdb commit c690d4bbc4b6279d7fdce28b017566ea9bd65ef5)
2006-12-16 11:21:24 +11:00
Peter Somogyi
0e1b3f1f12
Added checks for ib libs and headers
...
(This used to be ctdb commit 0fecfdea111f2f5d25eadce04c5f35dffca29b26)
2006-12-15 16:58:49 +01:00
Peter Somogyi
d323249d2c
Made infiniband support configurable.
...
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)
2006-12-15 16:02:45 +01:00
Andrew Tridgell
4777809b62
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?
(This used to be ctdb commit c432f377b6e71183309d32256a834683801045f8)
2006-12-15 20:21:46 +11:00
Peter Somogyi
522ad11f06
Raw impl. of ibwrapper test tool.
...
(basic functional test, compilable, untested)
Adjusted makefile and ibwrapper state checking.
(This used to be ctdb commit 82410f42fe5d428eda0ba96c11774e142f672d24)
2006-12-14 18:21:39 +01:00
Peter Somogyi
ffefb5c24f
Made ibwrapper compilable.
...
Adjusted makefile to include the project.
libibverbs and librdmacm has to be installed with headers.
(This used to be ctdb commit 372dc670a7aeb5887c4f24bd5466aa6a77e22f1f)
2006-12-13 15:00:41 +01:00
Peter Somogyi
6df8352035
Using struct <type> instead of typedefs.
...
(This used to be ctdb commit d830c1ca25b13e82357f439a2ba39540f81a6ecd)
2006-12-13 11:02:49 +01:00
Peter Somogyi
4e3beb673e
Raw implementation done.
...
Let's start compilation...
(This used to be ctdb commit 24d2a0615a308dee47ae87c5c84e1133858b3d27)
2006-12-12 19:09:16 +01:00
Peter Somogyi
96cdb37f7b
Rough implementation of buffer handling.
...
Many conceptual fix.
(This used to be ctdb commit 26ed351cfc883691446c792cd2d93847a31bc659)
2006-12-11 19:56:15 +01:00
Peter Somogyi
c7041149b4
Implemented cm usage.
...
TODO: implement verbs user logic.
(This used to be ctdb commit afa33107137698500d0aabaf244ea4276c415929)
2006-12-06 18:49:46 +01:00
Peter Somogyi
49773cc523
Added some event handling (incomplete)...
...
(This used to be ctdb commit 055854ed0193bdd344c64c95ef3864580f744ecf)
2006-12-05 18:48:16 +01:00
Peter Somogyi
cb26789308
bzr email plugin test
...
(This used to be ctdb commit 85c7d655c0d0909f2b527ec2a233e430db683da8)
2006-12-05 16:25:43 +01:00
Peter Somogyi
45280f749e
Testing e-mail notification...
...
(This used to be ctdb commit f7ebe9c1d4515a6bf39f1321b252b791560ff04b)
2006-12-05 13:17:41 +01:00
Peter Somogyi
9c21a32c30
Using samba DLIST helper macro set.
...
(This used to be ctdb commit 1ed174dd02428748b8273a91c8d0d335795f12c3)
2006-12-05 13:09:48 +01:00
Andrew Tridgell
87fb0973f4
merged from Peter
...
(This used to be ctdb commit 0f7ff0eb31d6a82be40e21b811abb85981f4cfd5)
2006-12-05 08:06:15 +11:00
Peter Somogyi
948dd45225
Implementing basic data structure handling...
...
(This used to be ctdb commit abc571a9948b51a436bacaae89b49b8a0e08a093)
2006-12-04 19:48:11 +01:00
Peter Somogyi
00480bf2bf
Just testing the bzr e-mail plugin...
...
(This used to be ctdb commit 2eb9faa615aa10e45a744045c5373c4ab1d2783b)
2006-12-04 14:27:46 +01:00
Peter Somogyi
71dcef5635
Added infiniband transport implementation(incomplete) and interface.
...
(This used to be ctdb commit b53356124141b6419a2cd3652a8dd4389fe8e46b)
2006-12-04 14:02:08 +01:00
Andrew Tridgell
6f139e6e91
merge from ab
...
(This used to be ctdb commit 8b3f9c901ad4b1485eb4b514da8466a0b50ef726)
2006-12-01 21:16:32 +11:00
Alexander Bokovoy
606a4d9113
Provide an alternative CTDB_NO_MEMORY_NULL() for functions which return a pointer
...
(This used to be ctdb commit 51c79e19df777fb53a5c210efc1c9d3159059de3)
2006-12-01 12:26:21 +03:00
Alexander Bokovoy
6b97bddd7c
Merge from tridge
...
(This used to be ctdb commit e087b4644fe2236bc2de3c8623900d56288bc9c6)
2006-12-01 12:10:18 +03:00
Andrew Tridgell
35a627cc32
queue up packets to nodes that aren't connected yet. This avoids a
...
startup race condition in the test suite
(This used to be ctdb commit b623ac755de843a3386a7c0e882d651b7f20d482)
2006-12-01 15:54:15 +11:00
Andrew Tridgell
ec5d2ddd8e
- 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()
(This used to be ctdb commit 95fad717ef5ab93be3603aa11d2878876fe868d3)
2006-12-01 15:45:24 +11:00
Andrew Tridgell
7e21f51b05
- added a 1 node test
...
- only need 10 elements in test code, more just makes it hard to
follow in a debugger
(This used to be ctdb commit 7df191112b10466a35a4ff130dade52a6c3c2646)
2006-12-01 10:23:03 +11:00
Andrew Tridgell
559f169aa2
- fixed the sort function to include the exsting data
...
- use numbers below 1000 in test code to make debug easier
- use ctdb_connect_wait()
(This used to be ctdb commit 216850e63e335de7d7cbe6c351d948bb8f1565e7)
2006-12-01 09:02:17 +11:00
Andrew Tridgell
326f2c7f98
need the header changes too
...
(This used to be ctdb commit 57dd0a1453e99604b3accc6dc2c183c547f37d1b)
2006-12-01 09:01:11 +11:00
Andrew Tridgell
375eeb8a24
added ctdb_connect_wait()
...
(This used to be ctdb commit 0a033f04bbc17db1aaa3a4458149e1e6b055cb9a)
2006-12-01 08:58:08 +11:00
Andrew Tridgell
c6e9ec5166
merge parts of the changes from ab. Don't merge ctdb_test changes yet
...
(This used to be ctdb commit 003a9233e4dbd82b47aad5e124c4bf6d8c1925e0)
2006-12-01 07:04:33 +11:00
Alexander Bokovoy
7586ae4ebb
regenerate configure after changing configure.ac
...
(This used to be ctdb commit 5c15cfabba62a8150cf87f3f903ba42670841100)
2006-11-29 17:48:52 +03:00
Alexander Bokovoy
c49d23169a
change test a bit -- work on whole array of ints and process it in the loop (locally)
...
(This used to be ctdb commit d7406263e220b093254603c2dc4884a697631760)
2006-11-29 17:48:32 +03:00