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

30 Commits

Author SHA1 Message Date
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Jelmer Vernooij
5085c53fcf r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
08bb1ef643 r25000: Fix some more C++ compatibility warnings. 2007-10-10 15:05:27 -05:00
Andrew Tridgell
be85c48f8d r24274: - merge from ctdb bzr tree
- use ctdb_attach() instead of ctdb_db_handle()

- make ctdb_attach() return an existing db handle if it exists
2007-10-10 15:01:33 -05:00
Andrew Tridgell
b196077cbb r23806: update Samba4 with the latest ctdb code.
This doesn't get the ctdb code fully working in Samba4, it just gets
it building and not breaking non-clustered use of Samba. It will take
a bit longer to update some of the calling ctdb_cluster.c code to make
it work correctly in Samba4.

Note also that Samba4 now only links to the client portion of
ctdb. For the moment I am leaving the ctdbd as a separate daemon,
which you install separately from http://ctdb.samba.org/.
2007-10-10 14:59:20 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Jelmer Vernooij
44248f662f r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_. 2007-10-10 14:53:08 -05:00
Andrew Tridgell
fd8594d62e r22423: don't need popt here 2007-10-10 14:51:18 -05:00
Andrew Tridgell
3633f862b9 r22421: merged in latest ctdb changes from bzr 2007-10-10 14:51:17 -05:00
Andrew Tridgell
2c12f8e72f r22232: add a special message handler ID meaning "all messages please"
This better fits the way Samba4 does message dispatch
2007-10-10 14:50:40 -05:00
Andrew Tridgell
807b959082 r22231: merge from bzr ctdb tree 2007-10-10 14:50:40 -05:00
Andrew Tridgell
d7f122df1d r22117: merged from bzr 2007-10-10 14:49:52 -05:00
Andrew Tridgell
a57af1ff82 r22098: merged from bzr tree 2007-10-10 14:49:51 -05:00
Andrew Tridgell
b0da25cb79 r22082: merged the ctdb changes from bzr
added opendb ctdb backend from ronnie
2007-10-10 14:49:48 -05:00
Andrew Tridgell
44dcac9e4d r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
ctdb backend to use the updated multi-database API
2007-10-10 14:49:47 -05:00
Andrew Tridgell
3df7527aed r21256: - msg_type is not needed in the cluster messaging API
- merge ctdb_get_num_nodes() from bzr tree
2007-10-10 14:44:55 -05:00
Andrew Tridgell
b288ba05e5 r21232: added a raw ctdb messaging api - allowing ctdb applications to take
advantage of the ctdb messaging layer for their own data
2007-10-10 14:44:49 -05:00
Andrew Tridgell
2d6e082e81 r21172: fixed a comment 2007-10-10 14:44:41 -05:00
Andrew Tridgell
70c3acaf88 r21045: every call in brlock_ctdb ended up neededing a 32 bit status code, so
rather than allocating a reply_data field each time, I have changed
the ctdb_call API to include a status code. That greatly simplifies
use of the API.
2007-10-10 14:44:25 -05:00
Andrew Tridgell
cf317480cb r21044: - merge struct ctdb_call API changes from bzr tree
- convert brlock code to new API
2007-10-10 14:44:25 -05:00
Andrew Tridgell
3e5f29bddf r20991: use relative includes for ctdb headers. This works with both
standalone and built-in ctdb
2007-10-10 14:44:18 -05:00
Andrew Tridgell
7622e7b4b2 r20945: fixed the bug causing locktest to fail with the ctdb backend after a
couple of hundred opertations. Also removed a lot of the debug code I
was using to track this down.
2007-10-10 14:43:58 -05:00
Andrew Tridgell
05d19af38c r20944: if a call has been destroyed before a reply comes in then discard the
reply
2007-10-10 14:43:57 -05:00
Andrew Tridgell
fd8e460439 r20943: use offsetof() instead of sizeof() - 1 for the packet length
calculations. It will be interesting to see how portable this is.

The advantage over the sizeof() method is that it avoids padding
problems after the data[1] array. That was causing us to get valgrind
errors.
2007-10-10 14:43:57 -05:00
Andrew Tridgell
4bf741b567 r20918: a bit more debugging, and remove the hackish /dev/null writes I used
to track down some uninitialised memory (sometimes valgrind gets the
offset wrong, writing to /dev/null 1 byte at a time avoids this)
2007-10-10 14:43:51 -05:00
Stefan Metzmacher
015097677c r20901: - not all compiler like uint8_t data[0] elements!
- this fix looks really ugly but I don't know a better solution...

if we would use uint8_t *data; then we would send the pointer value
also in the network packet and we would need to initialize

s->data = ((void *)(&s->data) + 1;

to make the memcpy statements work as they're currently,
so we use uint8_t data[1] in the struct definition ...

tridge: please review careful!

hopefully fix the build on solaris and HPUX

metze
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
cb59eae919 r20900: fix compiler warnings
metze
2007-10-10 14:43:49 -05:00
Andrew Tridgell
45f5c272f3 r20896: make the maximum lacount configurable in smb.conf
at the moment the brlock_ctdb backend will sometimes fail after
dmaster migrations. So to pass tests this needs to be set high. Thats
a priority to fix.
2007-10-10 14:43:48 -05:00
Andrew Tridgell
53be449630 r20889: import ctdb cluster backend from bzr
it will be interesting to see how the build farm handles this
2007-10-10 14:43:46 -05:00