vlendec/samba-autobuild/.git
13 years agoadded copies of libs so can be built standalone
Andrew Tridgell [Thu, 25 Jan 2007 04:10:40 +0000 (15:10 +1100)]
added copies of libs so can be built standalone
(This used to be ctdb commit 0bf6e6cb371bb946ea8cc1d8c7a23a41ea715832)

13 years agomerge fixes from samba4
Andrew Tridgell [Tue, 23 Jan 2007 00:38:45 +0000 (11:38 +1100)]
merge fixes from samba4
(This used to be ctdb commit fb90a5424348d0b6ed9a1b8da4ceadcc4d1a1cb1)

13 years agomerged from peter
Andrew Tridgell [Wed, 20 Dec 2006 22:43:49 +0000 (09:43 +1100)]
merged from peter
(This used to be ctdb commit e6fc75581e2038e98c730a6691a1cc61c5b83afe)

13 years agoAdded send queue.
Peter Somogyi [Wed, 20 Dec 2006 18:16:30 +0000 (19:16 +0100)]
Added send queue.
TODO: check again & reduce.

(This used to be ctdb commit 131c41f6f3e08097e7e0fab852b2a64183c695ec)

13 years agoMade receiver handle partial packets.
Peter Somogyi [Wed, 20 Dec 2006 16:42:58 +0000 (17:42 +0100)]
Made receiver handle partial packets.

(This used to be ctdb commit 808fd658552e489825fb22453755e225549ebfcc)

13 years agomerge from Peter
Andrew Tridgell [Tue, 19 Dec 2006 23:35:27 +0000 (10:35 +1100)]
merge from Peter
(This used to be ctdb commit 19bbfc7eeaccb795782647c743690cf5c131796d)

13 years agomerge from ab
Andrew Tridgell [Tue, 19 Dec 2006 23:32:31 +0000 (10:32 +1100)]
merge from ab
(This used to be ctdb commit 5074b6e84704e213f733cebc92c62ca135f03cd6)

13 years agosimple ctdb benchmark
Andrew Tridgell [Tue, 19 Dec 2006 05:27:03 +0000 (16:27 +1100)]
simple ctdb benchmark
(This used to be ctdb commit eb80fd212472fe3b111dabe7adf6dd507fe3656a)

13 years agoenforce the tcp memory alignment in packet queue
Andrew Tridgell [Tue, 19 Dec 2006 01:07:07 +0000 (12:07 +1100)]
enforce the tcp memory alignment in packet queue

(This used to be ctdb commit 222f53a3205509a45fbc3267297521df22a414ec)

13 years agoadded handling of partial packet reads
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

(This used to be ctdb commit 50304a5c4d8d640732678eeed793857334ca5ec1)

13 years agoModified send logic to allow large messages.
Peter Somogyi [Mon, 18 Dec 2006 19:52:49 +0000 (20:52 +0100)]
Modified send logic to allow large messages.
TODO: receiver side.

(This used to be ctdb commit 5ca8a53b10990a09390f174bf5eacf07fc5540c2)

13 years agoFix cleaning targets to delete proper files
Alexander Bokovoy [Mon, 18 Dec 2006 14:58:29 +0000 (17:58 +0300)]
Fix cleaning targets to delete proper files

(This used to be ctdb commit 3af84af196e64332fa3ede0689c026b1faa97466)

13 years agoFix memory handling
Alexander Bokovoy [Mon, 18 Dec 2006 14:55:48 +0000 (17:55 +0300)]
Fix memory handling

(This used to be ctdb commit a7ff834cec4c44eee7d1a84218e050a45b94d599)

13 years agowrap the packet queue call
Andrew Tridgell [Mon, 18 Dec 2006 05:26:57 +0000 (16:26 +1100)]
wrap the packet queue call

(This used to be ctdb commit 4dd8ffd5752aedcaf0b8ad1941a5f84ec1ca2868)

13 years agoadded a 4 node test
Andrew Tridgell [Mon, 18 Dec 2006 05:05:22 +0000 (16:05 +1100)]
added a 4 node test
(This used to be ctdb commit 982468d0770684ec18cf95e3f254250debf4fd4c)

13 years agoadded request_dmaster and reply_dmaster logic
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.

(This used to be ctdb commit af87f587d8f70192ecac0125054bf9583a4849a7)

13 years agoadded logic for keeping track of the lacount
Andrew Tridgell [Mon, 18 Dec 2006 03:58:40 +0000 (14:58 +1100)]
added logic for keeping track of the lacount
(This used to be ctdb commit efda7735a950a129814e6a7de8bbf5432b867c68)

13 years agoexpanded some comments
Andrew Tridgell [Mon, 18 Dec 2006 03:49:32 +0000 (14:49 +1100)]
expanded some comments
(This used to be ctdb commit cf544e986d5837cc878792af571bdb23cc487882)

13 years agoadded redirect handling
Andrew Tridgell [Mon, 18 Dec 2006 03:44:06 +0000 (14:44 +1100)]
added redirect handling
(This used to be ctdb commit 3c1dc8b98c8e843c44a172ac15e67f4ab8c47500)

13 years agoadded error reply packets
Andrew Tridgell [Mon, 18 Dec 2006 03:27:20 +0000 (14:27 +1100)]
added error reply packets
(This used to be ctdb commit 49ee165808985ce0fa174dd6e05292871d3f3130)

13 years agonext step towards dmaster/lmaster code
Andrew Tridgell [Mon, 18 Dec 2006 03:05:49 +0000 (14:05 +1100)]
next step towards dmaster/lmaster code
(This used to be ctdb commit 95e7be8d1aaafafb574c406fe778093606a28be8)

13 years agoadded storage of extended ltdb header information
Andrew Tridgell [Mon, 18 Dec 2006 02:24:02 +0000 (13:24 +1100)]
added storage of extended ltdb header information
(This used to be ctdb commit a18c9411081a4e5997bf030fa924abfc33fb3310)

13 years agomerge from peter
Andrew Tridgell [Sat, 16 Dec 2006 00:21:24 +0000 (11:21 +1100)]
merge from peter
(This used to be ctdb commit c690d4bbc4b6279d7fdce28b017566ea9bd65ef5)

13 years agoAdded checks for ib libs and headers
Peter Somogyi [Fri, 15 Dec 2006 15:58:49 +0000 (16:58 +0100)]
Added checks for ib libs and headers

(This used to be ctdb commit 0fecfdea111f2f5d25eadce04c5f35dffca29b26)

13 years agoMade infiniband support configurable.
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.

(This used to be ctdb commit 3c264205157c8c2af03bca0051a1fe715c8470e5)

13 years agomerge IB code from peter
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?

(This used to be ctdb commit c432f377b6e71183309d32256a834683801045f8)

13 years agoRaw impl. of ibwrapper test tool.
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.

(This used to be ctdb commit 82410f42fe5d428eda0ba96c11774e142f672d24)

13 years agoMade ibwrapper compilable.
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.

(This used to be ctdb commit 372dc670a7aeb5887c4f24bd5466aa6a77e22f1f)

13 years agoUsing struct <type> instead of typedefs.
Peter Somogyi [Wed, 13 Dec 2006 10:02:49 +0000 (11:02 +0100)]
Using struct <type> instead of typedefs.

(This used to be ctdb commit d830c1ca25b13e82357f439a2ba39540f81a6ecd)

13 years agoRaw implementation done.
Peter Somogyi [Tue, 12 Dec 2006 18:09:16 +0000 (19:09 +0100)]
Raw implementation done.
Let's start compilation...

(This used to be ctdb commit 24d2a0615a308dee47ae87c5c84e1133858b3d27)

13 years agoRough implementation of buffer handling.
Peter Somogyi [Mon, 11 Dec 2006 18:56:15 +0000 (19:56 +0100)]
Rough implementation of buffer handling.
Many conceptual fix.

(This used to be ctdb commit 26ed351cfc883691446c792cd2d93847a31bc659)

13 years agoImplemented cm usage.
Peter Somogyi [Wed, 6 Dec 2006 17:49:46 +0000 (18:49 +0100)]
Implemented cm usage.
TODO: implement verbs user logic.

(This used to be ctdb commit afa33107137698500d0aabaf244ea4276c415929)

13 years agoAdded some event handling (incomplete)...
Peter Somogyi [Tue, 5 Dec 2006 17:48:16 +0000 (18:48 +0100)]
Added some event handling (incomplete)...

(This used to be ctdb commit 055854ed0193bdd344c64c95ef3864580f744ecf)

13 years agobzr email plugin test
Peter Somogyi [Tue, 5 Dec 2006 15:25:43 +0000 (16:25 +0100)]
bzr email plugin test

(This used to be ctdb commit 85c7d655c0d0909f2b527ec2a233e430db683da8)

13 years agoTesting e-mail notification...
Peter Somogyi [Tue, 5 Dec 2006 12:17:41 +0000 (13:17 +0100)]
Testing e-mail notification...

(This used to be ctdb commit f7ebe9c1d4515a6bf39f1321b252b791560ff04b)

13 years agoUsing samba DLIST helper macro set.
Peter Somogyi [Tue, 5 Dec 2006 12:09:48 +0000 (13:09 +0100)]
Using samba DLIST helper macro set.

(This used to be ctdb commit 1ed174dd02428748b8273a91c8d0d335795f12c3)

13 years agomerged from Peter
Andrew Tridgell [Mon, 4 Dec 2006 21:06:15 +0000 (08:06 +1100)]
merged from Peter
(This used to be ctdb commit 0f7ff0eb31d6a82be40e21b811abb85981f4cfd5)

13 years agoImplementing basic data structure handling...
Peter Somogyi [Mon, 4 Dec 2006 18:48:11 +0000 (19:48 +0100)]
Implementing basic data structure handling...

(This used to be ctdb commit abc571a9948b51a436bacaae89b49b8a0e08a093)

13 years agoJust testing the bzr e-mail plugin...
Peter Somogyi [Mon, 4 Dec 2006 13:27:46 +0000 (14:27 +0100)]
Just testing the bzr e-mail plugin...

(This used to be ctdb commit 2eb9faa615aa10e45a744045c5373c4ab1d2783b)

13 years agoAdded infiniband transport implementation(incomplete) and interface.
Peter Somogyi [Mon, 4 Dec 2006 13:02:08 +0000 (14:02 +0100)]
Added infiniband transport implementation(incomplete) and interface.

(This used to be ctdb commit b53356124141b6419a2cd3652a8dd4389fe8e46b)

13 years agomerge from ab
Andrew Tridgell [Fri, 1 Dec 2006 10:16:32 +0000 (21:16 +1100)]
merge from ab
(This used to be ctdb commit 8b3f9c901ad4b1485eb4b514da8466a0b50ef726)

13 years agoProvide an alternative CTDB_NO_MEMORY_NULL() for functions which return a pointer
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
(This used to be ctdb commit 51c79e19df777fb53a5c210efc1c9d3159059de3)

13 years agoMerge from tridge
Alexander Bokovoy [Fri, 1 Dec 2006 09:10:18 +0000 (12:10 +0300)]
Merge from tridge
(This used to be ctdb commit e087b4644fe2236bc2de3c8623900d56288bc9c6)

13 years agoqueue up packets to nodes that aren't connected yet. This avoids a
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

(This used to be ctdb commit b623ac755de843a3386a7c0e882d651b7f20d482)

13 years ago- added ctdb_set_flags() call
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()

(This used to be ctdb commit 95fad717ef5ab93be3603aa11d2878876fe868d3)

13 years ago- added a 1 node test
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

(This used to be ctdb commit 7df191112b10466a35a4ff130dade52a6c3c2646)

13 years ago- fixed the sort function to include the exsting data
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()

(This used to be ctdb commit 216850e63e335de7d7cbe6c351d948bb8f1565e7)

13 years agoneed the header changes too
Andrew Tridgell [Thu, 30 Nov 2006 22:01:11 +0000 (09:01 +1100)]
need the header changes too
(This used to be ctdb commit 57dd0a1453e99604b3accc6dc2c183c547f37d1b)

13 years agoadded ctdb_connect_wait()
Andrew Tridgell [Thu, 30 Nov 2006 21:58:08 +0000 (08:58 +1100)]
added ctdb_connect_wait()
(This used to be ctdb commit 0a033f04bbc17db1aaa3a4458149e1e6b055cb9a)

13 years agomerge parts of the changes from ab. Don't merge ctdb_test changes yet
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
(This used to be ctdb commit 003a9233e4dbd82b47aad5e124c4bf6d8c1925e0)

13 years agoregenerate configure after changing configure.ac
Alexander Bokovoy [Wed, 29 Nov 2006 14:48:52 +0000 (17:48 +0300)]
regenerate configure after changing configure.ac
(This used to be ctdb commit 5c15cfabba62a8150cf87f3f903ba42670841100)

13 years agochange test a bit -- work on whole array of ints and process it in the loop (locally)
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)
(This used to be ctdb commit d7406263e220b093254603c2dc4884a697631760)

13 years agorely on ctdb_test.c for the moment
Alexander Bokovoy [Wed, 29 Nov 2006 14:48:01 +0000 (17:48 +0300)]
rely on ctdb_test.c for the moment
(This used to be ctdb commit ba7b425d01719d745fb95842dec9b19b3d310ca7)

13 years agoFix ctdb_call() fetching data and ltdb backend flags
Alexander Bokovoy [Wed, 29 Nov 2006 14:47:42 +0000 (17:47 +0300)]
Fix ctdb_call() fetching data and ltdb backend flags
(This used to be ctdb commit 5ecee128edcd56d7715567cc1d1403453826c664)

13 years agoIgnore configure
Alexander Bokovoy [Wed, 29 Nov 2006 14:45:14 +0000 (17:45 +0300)]
Ignore configure
(This used to be ctdb commit 7d6e4c7dcf5bfce80195002d618784aca0c3b96e)

13 years agoIgnore configure
Alexander Bokovoy [Wed, 29 Nov 2006 14:43:05 +0000 (17:43 +0300)]
Ignore configure

(This used to be ctdb commit 92e1e546cdf0a0c9ff4978c32fbd56a305b142bf)

13 years agoMerge from tridge
Alexander Bokovoy [Wed, 29 Nov 2006 09:37:24 +0000 (12:37 +0300)]
Merge from tridge

(This used to be ctdb commit dfca91b3ed5ee3c4531dd9c883bf39dbb8eececa)

13 years ago- added in idtree for efficient reqid handling
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

(This used to be ctdb commit 97b1fdf7fa0e230f36add3f1770ecb3a9faee0a1)

13 years ago- added simple (fake) vnn system
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

(This used to be ctdb commit 8a17460a816a5970f2df8244a06aec55d814f186)

13 years ago- setup a convenience name field for nodes
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

(This used to be ctdb commit 415497c952630e746e8cdcf8e1e2a7b2ac3e51fb)

13 years ago- split up tcp functions into more logical parts
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

(This used to be ctdb commit 59f0dab652000f1c755e59567b03cf84dad7e954)

13 years agothis file is not needed yet
Andrew Tridgell [Mon, 27 Nov 2006 10:41:36 +0000 (21:41 +1100)]
this file is not needed yet
(This used to be ctdb commit 7204fc26dedb0b610d3b92eb1e1d7492ee9c7eb0)

13 years agostarted splitting out transport code
Andrew Tridgell [Mon, 27 Nov 2006 10:38:13 +0000 (21:38 +1100)]
started splitting out transport code
(This used to be ctdb commit 3b75ef65bd0bff9c6366aba5a26b90be509fa77b)

13 years agomerge from ab
Andrew Tridgell [Mon, 27 Nov 2006 09:35:44 +0000 (20:35 +1100)]
merge from ab
(This used to be ctdb commit 7dc9686397d70fa52ec1e27deec4790552f2b0bc)

13 years agoFix popt handling, this fixes segfault while asking for --help
Alexander Bokovoy [Mon, 27 Nov 2006 08:19:03 +0000 (11:19 +0300)]
Fix popt handling, this fixes segfault while asking for --help

(This used to be ctdb commit b4d48ff750740cb398836c143930f2780a074885)

13 years agoexample node list
Andrew Tridgell [Sat, 18 Nov 2006 04:34:35 +0000 (15:34 +1100)]
example node list
(This used to be ctdb commit 2552bde0d5b7b4d30f1c14da50098d2b1c77fef6)

13 years agodon't talk to ourselves
Andrew Tridgell [Sat, 18 Nov 2006 04:33:56 +0000 (15:33 +1100)]
don't talk to ourselves
(This used to be ctdb commit 0e90e364cb0602c59030aaa8e51064589849efe8)

13 years agoadded a test event loop
Andrew Tridgell [Sat, 18 Nov 2006 04:27:36 +0000 (15:27 +1100)]
added a test event loop
(This used to be ctdb commit 0a07269cc5e44f47352ac39170ce4cb9b400055f)

13 years agoadded event context
Andrew Tridgell [Sat, 18 Nov 2006 03:33:05 +0000 (14:33 +1100)]
added event context
(This used to be ctdb commit 3c9d5aba205c97ef2698567e42ed49cadf8137f2)

13 years agoadded ignore
Andrew Tridgell [Sat, 18 Nov 2006 02:48:14 +0000 (13:48 +1100)]
added ignore
(This used to be ctdb commit 3e119ebe7c545e31626f09fdc6dc075c09528411)

13 years agostub for ctdb_call
Andrew Tridgell [Sat, 18 Nov 2006 02:46:38 +0000 (13:46 +1100)]
stub for ctdb_call
(This used to be ctdb commit d707ad000c4f37686a0698f2c3047bbbaa7e875b)

13 years agoadded incoming setup
Andrew Tridgell [Sat, 18 Nov 2006 02:45:04 +0000 (13:45 +1100)]
added incoming setup
added ctdb_start

(This used to be ctdb commit da6f07f7bb8b6a0a0d4e4c0e1358401d1f9f4175)

13 years agoadded ctdb_set_address and broke out parsing
Andrew Tridgell [Sat, 18 Nov 2006 00:21:40 +0000 (11:21 +1100)]
added ctdb_set_address and broke out parsing
(This used to be ctdb commit 88071e67c916be8c9cd406f1353480183e24919c)

13 years agoget rid of some .svn files
Andrew Tridgell [Sat, 18 Nov 2006 00:00:52 +0000 (11:00 +1100)]
get rid of some .svn files
(This used to be ctdb commit 43a7b5f1cf9d4aa46bf0f3b7857f0af5ada26b0b)

13 years agoadded a README
Andrew Tridgell [Fri, 17 Nov 2006 23:57:01 +0000 (10:57 +1100)]
added a README
ignore some files

(This used to be ctdb commit b0d064e666170f7bb004639b6da9e0200f97c608)

13 years agoright include file path
Andrew Tridgell [Fri, 17 Nov 2006 23:55:55 +0000 (10:55 +1100)]
right include file path
(This used to be ctdb commit 5ebe14acdc972dc3ad37bdba6b3f113c36a814a7)

13 years agoinitial version
Andrew Tridgell [Fri, 17 Nov 2006 23:41:20 +0000 (10:41 +1100)]
initial version
(This used to be ctdb commit 5bba7deef9b03a68d336c138e83d6d4fac35bfce)