------------------------------------------------------------
revno: 589
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-08-15 11:48:03 +1000
message:
merge from ronnie
added:
tests/rb_test.c rb_test.c-20070808012115-zxl6646v2t2axezt-1
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
common/cmdline.c cmdline.c-20070416041216-w1zvz91bkdsgjckw-1
common/rb_tree.c rb_tree.c-20070724085023-9r1nhv41taadrjde-1
common/rb_tree.h rb_tree.h-20070724085025-nboaewff1rsepopq-1
server/ctdb_takeover.c
ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
tests/bench.sh bench.sh-20070209014602-vdolpr6esqsa58s7-1
tools/ctdb.c
ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
utils/smnotify/smnotify.x smnotify.x-20070803001844-k0ekeu031hzlt8bg-4
web/nfs.html nfs.html-20070608234340-a8i1dxro7a7i6jz6-1
------------------------------------------------------------
revno: 432.1.195
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-15 07:59:01 +1000
message:
from Chris Cowan
patches to smnotify to make it compile under AIX.
On AIX, we need to specify $(POPT_OBJ) explicitely
On AIX we can not use the -C flag to rpcgen since it is not implemented
On AIX we must explicitely force an #include of rpc/rpc.h in the idl
file since rpcgen does not automatically add it to the generated files
------------------------------------------------------------
revno: 432.1.194
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Mon 2007-08-13 14:29:19 +1000
message:
enhanced tests to verify the tree integrity when adding/removing nodes
------------------------------------------------------------
revno: 432.1.193
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-08-09 16:11:11 +1000
message:
remove an extra blankline
------------------------------------------------------------
revno: 432.1.192
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-08-09 14:08:59 +1000
message:
change the mem hierarchy for trees. let the node be owned by the data
we store in the tree and use a node destructor so that when the data is
talloc_free()d we also remove the node from the tree.
------------------------------------------------------------
revno: 432.1.191
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-08-09 07:59:50 +1000
message:
remove an unused function
------------------------------------------------------------
revno: 432.1.190
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 17:49:08 +1000
message:
run the test for 60 seconds if that is what we claim
------------------------------------------------------------
revno: 432.1.189
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 17:26:40 +1000
message:
add more extensive test cases and verify that we are not losing any
memory inside the tree
------------------------------------------------------------
revno: 432.1.188
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 15:09:19 +1000
message:
when we want to kill a tcp connection we stored the connection
description (src + dst sockaddr_in) in a linked list.
everytime we receive a captured packet from the network we had to walk
this list in linear time to see if the packet matched a connection we
wanted to RST.
which wouldnt scale very well.
replace the linked list with a redblack tree that is indexed by
src address, src port, dst address, dst port
to make checking whether the packet belongs to a connection we want to
RST very fast and scalable
the reason we need to capture packets when we want to kill a TCP
connection is because we must wait for an ACK coming back from the
remote host so that we can learn which sequence number to use in the
RST.
Most tcp today will ingore any and all RST segments unless the
sequencenumber lies exactly on the right edge of the window to make
spoofing RST a little bit more difficult.
------------------------------------------------------------
revno: 432.1.187
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 13:50:18 +1000
message:
add helpers to traverse a tree where the key is an array of uint32
------------------------------------------------------------
revno: 432.1.186
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 12:30:12 +1000
message:
add helpers to add/lookup/delete nodes in a tree where the key is an
array of uint32
------------------------------------------------------------
revno: 432.1.185
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 11:21:18 +1000
message:
add a tree insert function that takes a callback fucntion to populate
the data of the tree.
this callback makes it more convenient to manage cases where one might
want to insert multiple entries into the tree with the same key
rename the tree->tree pointer to tree->root since this is supposed to
point to the root of the tree
add a small test utility
------------------------------------------------------------
revno: 432.1.184
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 10:19:42 +1000
message:
change fprintf(stderr to DEBUG(0, now that client DEBUGs are redirected
to stderr
------------------------------------------------------------
revno: 432.1.183
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 10:14:44 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 432.1.182
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 08:25:20 +1000
message:
compile rb_tree.c by default.
this code is not yet called from anywhere but is at least now compiled
------------------------------------------------------------
revno: 432.1.181
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 08:20:46 +1000
message:
when inserting data in the tree, if there was already a node with the
same key then replace the data in the node with the new data and return
the pointer to the previous data held in the node.
this allows a caller to avoid having to first check if a node already
exists before inserting a possibly duplicate/colliding entry and lets
the caller do whatever it needs to do after the fact.
------------------------------------------------------------
revno: 432.1.180
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 07:58:13 +1000
message:
/etc/sysconfig/nfs can now discover the public ipaddress automagically
------------------------------------------------------------
revno: 432.1.179
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-08-08 07:35:53 +1000
message:
dont wait indefinitely for the initial getvnn to complete
Diff too large for email (1677, the limit is 200).