1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
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
Andrew Tridgell
3633f862b9 r22421: merged in latest ctdb changes from bzr 2007-10-10 14:51:17 -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
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
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