[SCM] Samba Shared Repository - branch master updated

2013-03-26 Thread Stefan Metzmacher
The branch, master has been updated
   via  e3f5e47 smbd: Remove an optimization that became unnecessary
   via  07ae7e2 smbd: We don't collect our own vnn anymore
   via  ebb027b smbd: Slightly simplify notify_trigger
   via  eb885d1 smbd: Slightly simplify notify_trigger
   via  032da72 smbd: Avoid some talloc_realloc in notify_internal
   via  c2b26a4 dbwrap-ctdb: Avoid a talloc_stackframe()
   via  d147194 ctdb-conn: remove ctdbd_fetch
   via  1409895 dbwrap-ctdb: Use ctdbd_parse in db_ctdb_parse_record
   via  abe4046 ctdb-conn: Add ctdbd_parse
   via  c8c0bf7 tdb: Fix blank line endings
   via  a92c08e tdb: Little format change
   via  d4ebeeb smbd: Avoid sending 0-sized keys to dbwrap
  from  bbb4068 dbwrap: Use tdb_null in db_ctdb_delete

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit e3f5e474c826940ebaf43256cb06a50309ba3ef5
Author: Volker Lendecke v...@samba.org
Date:   Wed Oct 31 13:13:50 2012 +0100

smbd: Remove an optimization that became unnecessary

After we only collect nonlocal vnns in idx_state.vnns now, at this point
we *know* we have something to send to a remote node. The previous code
avoided the call to notify_push_remote_blob with an if-statement that
has now become unnecessary.

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Tue Mar 26 13:16:39 CET 2013 on sn-devel-104

commit 07ae7e22f789a67bbd5e9536e1227a1c394990f9
Author: Volker Lendecke v...@samba.org
Date:   Wed Oct 31 13:11:19 2012 +0100

smbd: We don't collect our own vnn anymore

notify_trigger_index_parser will not anymore add ourselves into the vnn
list that it collects.

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit ebb027b738d0addd3ee5c205c5370b01859aee71
Author: Volker Lendecke v...@samba.org
Date:   Wed Oct 31 13:10:12 2012 +0100

smbd: Slightly simplify notify_trigger

We have a good chance that we did not collect any remote vnns. This
avoids trying to walk the remote vnns altogether.

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit eb885d1fdd6a2be603061aeef63790c92ca9ba56
Author: Volker Lendecke v...@samba.org
Date:   Wed Oct 31 13:08:18 2012 +0100

smbd: Slightly simplify notify_trigger

This straightens the for-loop walking the path components slightly

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit 032da72e2b81685f292622cfd2ced14af257849d
Author: Volker Lendecke v...@samba.org
Date:   Wed Oct 31 13:02:19 2012 +0100

smbd: Avoid some talloc_realloc in notify_internal

For the nonclustered case we will only ever have one vnn in 
notify_index.tdb.
For this case, without this patch we did talloc_realloc when collecting 
vnns to
be able to do the memcpy instead of explicit copy with a for-loop. This new
code will partition the new vnns we see when parsing a notify_index.tdb 
record
into ourselves and all foreign vnns, only really collecting the foreign 
ones in
an array.

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit c2b26a43ffae22c9dff7929c48531fec9e6ed922
Author: Volker Lendecke v...@samba.org
Date:   Sat Nov 24 14:42:06 2012 +

dbwrap-ctdb: Avoid a talloc_stackframe()

We have only a single allocation in this routine, so I think we can live
without a stackframe.

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit d147194466560488cda9f6e5e993c985cea02289
Author: Volker Lendecke v...@samba.org
Date:   Sat Nov 24 14:15:38 2012 +

ctdb-conn: remove ctdbd_fetch

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit 1409895d9e271744060d3f1ef2c71da5b5151f6a
Author: Volker Lendecke v...@samba.org
Date:   Sat Nov 24 14:14:37 2012 +

dbwrap-ctdb: Use ctdbd_parse in db_ctdb_parse_record

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit abe4046643735cf0bc5bcdfe330dd946ab221808
Author: Volker Lendecke v...@samba.org
Date:   Fri Nov 23 17:54:57 2012 +0100

ctdb-conn: Add ctdbd_parse

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit c8c0bf74805c61b1379dab1d4529df0004872bb4
Author: Volker Lendecke v...@samba.org
Date:   Mon Mar 18 14:39:04 2013 +0100

tdb: Fix blank line endings

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

commit 

[SCM] CTDB repository - branch master updated - ctdb-2.1-38-g85b7771

2013-03-26 Thread Amitay Isaacs
The branch, master has been updated
   via  85b777196289646ca37e06ebbf1f7a684d0aabc5 (commit)
  from  307416afda707b687f5e89e8438e45c154a4c806 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master


- Log -
commit 85b777196289646ca37e06ebbf1f7a684d0aabc5
Author: Sumit Bose sb...@redhat.com
Date:   Mon Mar 25 12:28:31 2013 +0100

build: Fix for tevent autoconf check

The list of include files is the 4th argument of AC_CHECK_DECLS.

---

Summary of changes:
 lib/tevent/libtevent.m4 |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tevent/libtevent.m4 b/lib/tevent/libtevent.m4
index 2141af6..fc06a9d 100644
--- a/lib/tevent/libtevent.m4
+++ b/lib/tevent/libtevent.m4
@@ -11,7 +11,7 @@ AC_SUBST(TEVENT_CFLAGS)
 if test x$INCLUDED_TEVENT != xyes ; then
 AC_CHECK_HEADERS(tevent.h)
 AC_CHECK_LIB(tevent, tevent_context_init, [ TEVENT_LIBS=-ltevent ])
-AC_CHECK_DECLS([TEVENT_TRACE_BEFORE_WAIT], [[#include tevent.h]])
+AC_CHECK_DECLS([TEVENT_TRACE_BEFORE_WAIT],,, [[#include tevent.h]])
 if test x$ac_cv_header_tevent_h = xno -o \
x$ac_cv_lib_tevent_tevent_context_init = xno -o \
x$ac_cv_have_decl_TEVENT_TRACE_BEFORE_WAIT = xno ; then


-- 
CTDB repository