1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

32 Commits

Author SHA1 Message Date
Peter Somogyi
1714c1ed0c ib: added external send queue to workaround downtime
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)
2007-02-26 11:59:20 +01:00
Peter Somogyi
199a5befb6 1st working ib integrated ctdb
TODO: bugfix of ctdb_bench (wants to sent via uninitialised connection - see bench_ring/dest)

(This used to be ctdb commit 61516461e9d45dc7ba87518d134894fed7d7b7cd)
2007-02-15 17:02:38 +01:00
Peter Somogyi
1c8bcd6f57 ib: a trivial approach of integration
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)
2007-02-14 18:58:20 +01:00
Peter Somogyi
8b6f1c39e7 Some minor changes before integrating ib...
(This used to be ctdb commit fa39ad5054de6e781ca980b9e24d22fa0c67e9ae)
2007-02-12 16:47:12 +01:00
Peter Somogyi
cae71b84d6 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.

(This used to be ctdb commit 2f8876f09bc92169487cb077326579044560a121)
2007-02-08 19:06:14 +01:00
Peter Somogyi
36d53e5043 2 bugfixes
- ibw_stop handling
- ibw_send: < instead of <=

(This used to be ctdb commit 4774ef7e9e33f26745346b9bfe445d913f196e81)
2007-02-01 18:46:44 +01:00
Peter Somogyi
116bdb2590 Added overload test scenario + fixed 1 send queue bug.
TODO: externize debug level

(This used to be ctdb commit 98442ce3e2b3f09ca6736abfa0a8314cbdafaac7)
2007-01-30 18:47:26 +01:00
Peter Somogyi
4b8fe2af0a Fixed a side effect of previous revert.
(This used to be ctdb commit 08d013df5c6389c471036b20758463a844d33027)
2007-01-25 14:22:03 +01:00
Peter Somogyi
7c3982eb3b 1st "working" ib version.
TODO: stress test, variable size messages, flood

(This used to be ctdb commit 5f2a834fdcebe349aad095010ae01cce788b6482)
2007-01-25 11:01:59 +01:00
Peter Somogyi
9c114a3fc5 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.

(This used to be ctdb commit 9e8cb9b96c685288c04ee8b69a972f582cd3c904)
2007-01-05 18:13:35 +01:00
Peter Somogyi
00df320053 bugfix in ibw_send
Forgot to allow different message pointer than beginning of an allocated buf.

(This used to be ctdb commit de6f7ae87f17ab5c99f5cf369baa499cca96dee5)
2007-01-04 16:44:41 +01:00
Peter Somogyi
0397c81938 +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.

(This used to be ctdb commit c8eb66296b99e528781ce05846aa86205830a1a0)
2007-01-03 17:37:47 +01:00
Peter Somogyi
11fb3ef3b5 Joining ctdb and ibwrapper (incomplete).
It compiles.

TODO: modify ctdb as well.

(This used to be ctdb commit a080b85a5d8e46946f8308bb6c76aa62b5a254db)
2007-01-02 18:16:39 +01:00
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
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
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
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
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