[SCM] Samba Website Repository - branch master updated

2020-07-08 Thread Björn Jacke
The branch, master has been updated
   via  f903bb0 genereated_news.sh: add feed header for PubSubHubbub/WebSub
  from  44996a0 Add Samba 4.12.5.

https://git.samba.org/?p=samba-web.git;a=shortlog;h=master


- Log -
commit f903bb0edfcd4a961c1694a4f9fa59dffcf949dc
Author: Björn Jacke 
Date:   Wed Jul 8 21:03:17 2020 +0200

genereated_news.sh: add feed header for PubSubHubbub/WebSub

---

Summary of changes:
 generated_news.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/generated_news.sh b/generated_news.sh
index e0dc7bb..b4be94d 100755
--- a/generated_news.sh
+++ b/generated_news.sh
@@ -54,7 +54,8 @@ generate_feed() {
echo ''
echo 'http://www.w3.org/2005/Atom;>'
echo 'https://www.samba.org/samba/news.atom'
-   echo 'https://www.samba.org/samba/news.atom; 
rel="self"/>'
+   echo 'https://pubsubhubbub.appspot.com/; rel="hub" 
/>'
+   echo 'https://www.samba.org/samba/news.atom; 
rel="self" />'
echo 'Samba - News'
echo ''`date +%Y-%m-%dT%H:%m:%SZ`''
echo
@@ -65,7 +66,7 @@ generate_feed() {
echo ''
MY_UPDATED=`echo $f | sed 
's/^\(\)\(..\)\(..\)-\(..\)\(..\).*/\1-\2-\3T\4:\5:00Z/'`
echo 
"https://www.samba.org/samba/news.atom#$MY_UPDATED"
-   echo ""
+   echo ""
echo 'Samba 
Teamwebmas...@samba.org'
echo "$MY_UPDATED"
 


-- 
Samba Website Repository



[SCM] Samba Shared Repository - branch master updated

2020-07-08 Thread Stefan Metzmacher
The branch, master has been updated
   via  3afdf2a8618 s3:smbd: skip ctdb public ips in 
fsctl_network_iface_info()
   via  79eaa196dc8 s3:smbd: disconnect the all client connections if a 
ctdb public ip dropped
   via  af51b75c611 s3:smbd: make smbXsrv_client_connection_pass_loop() 
more robust
   via  ab14a0d1624 s3:smbd: make sure 
smbXsrv_connection_disconnect_transport() closes the socket fd
   via  ecef3fe077d s3:smbd: make sure we detect stale smbXsrv_connection 
pointers in smbXsrv_session_auth0
   via  876a84493bb s3:smbd: fill in xconn->client early in 
smbd_add_connection()
   via  dbe27672131 s3:smbd: handle NETWORK_ACCESS_DENIED in 
smbXsrv_client_connection_pass_loop()
   via  ad3c5c1a626 s3:smbd: consistently use DLIST_ADD* to fill 
client->connections in smbd_add_connection()
   via  4d924528905 s3:ctdbd_conn: add ctdbd_control_get_public_ips() and 
ctdbd_find_in_public_ips()
   via  57515a43fbd s3:ctdbd_conn: make use of samba_sockaddr in 
ctdbd_connect()
   via  ba66abef888 s3:ctdbd_conn: make use of ctdbd_control_local() in 
ctdbd_register_ips()
   via  883657a7cfe selftest/Samba3: make use of 'smbd:FSCTL_SMBTORTURE = 
yes'
   via  bd1285d40d0 s3:smbd: implement 
FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT
   via  88b0da10627 s3:smbd: make use of the new ack infrastructure for 
oplock/lease breaks
   via  8b8c5c4154f s3:smbd: force multi-channel to be turned off without 
FreeBSD/Linux support
   via  3cd775af053 s3:smbd: add infrastructure to wait for TCP acks
   via  557adf8 s3:smbd: add logic to retry break notifications on all 
available channels
   via  bc10e5039a9 docs-xml/smbdotconf: add "smb2 disable oplock break 
retry"
   via  4230bcdf7e0 s3:smbd: convert smbd_smb2_send_break() into async 
smbd_smb2_break_send/recv()
   via  37c52c2d498 s3:smbd: add smbd_smb2_send_queue.sendfile_body_size
   via  61b9418784f s3:smbd: introduce smbXsrv_pending_break infrastructure
   via  36812aadbd8 s3:smbd: avoid dereferencing client->connections
   via  c66110cf337 s3:smbd: setup client->global->client_guid even without 
multichannel support
   via  66c0888d2e9 s3:smbd: pass down smbXsrv_client to 
smbd_smb2_send_{oplock,lease}_break()
   via  42497b86399 s3:smbd: pass smbXsrv_client to downgrade_lease()
   via  54bd3a46c84 s3:smbd: add smbd_server_disconnect_client[_ex]()
   via  60d7f059a40 s3:smbd: remove unused session,tcon parameters from 
smbd_smb2_send_oplock_break()
   via  a1e5b8c77c1 s3:smbd: pass down session_id to smbd_smb2_send_break()
   via  acf80fd9437 s3:smbd: remove dead code from smbd_smb2_send_break()
   via  5ad618bc67a s4:torture/smb2: add 
smb2.multichannel.oplocks.test3{_windows,specification}
   via  5bb9da8cd78 s4:torture/smb2: (re-)add smb2.multichannel.leases.test4
   via  2da65bed806 s4:torture/smb2: remove useless 
'smb2.multichannel.leases.test4'
   via  f92f24ee266 s4:torture/smb2: fix smb2.multichannel.leases.test2 
against windows
   via  31e2b7f04ba s4:torture/smb2: split smb2.oplock.batch22 into a and b
   via  3d7f81979c2 s4:torture/smb2: move smb2_transport blocking to the 
generic block.[ch]
   via  68a351b7620 s4:torture/smb2: make use of 
FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT
   via  8c7bb245ff8 s4:torture/smb2: refactor block.c to block the OUTPUT 
path
   via  a52e7114df6 s4:torture/smb2: add break_info.oplock_skip_ack
   via  2181f728edf s4:torture/smb2: move interface_info test to 
smb2.multichannel.generic
   via  3559a1df9bc s4:torture/smb2: make use of 
transport_options.only_negprot for multichannel connections
   via  d2b8274438f s4:torture/smb2: simplify code to generate list of smb2 
channels
   via  5451882004c s4:torture/smb2: add const to options for 
test_multichannel_create_channel()
   via  ce7eaca7353 s4:libcli/smb2: add const to struct smbcli_options 
*options for smb2_connect()
   via  7d06874478e s4:libcli/smb2: allow smb2_connect*() to fake session 
and tcon
   via  fe6a6ec4d48 s4:param: use struct initializer in 
lpcfg_smbcli_session_options()
   via  9f3ab6a113d s4:param: use struct initializer in 
lpcfg_smbcli_options()
   via  0d2566210a8 libcli/smb: define 
FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT
   via  816528923e9 s3:includes: change OPLOCK_BREAK_TIMEOUT from 30 to 35 
seconds
   via  bd71d2d92c2 lib/util: allow to set TCP_USER_TIMEOUT socket option
  from  4faab2a77a6 s3:dbwrap_watch: avoid recursion into 
dbwrap_do_locked() from dbwrap_watched_do_locked_{storev,delete}()

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


- Log -
commit 3afdf2a8618ef9ca7cfba279e87ab59c8ae3d662
Author: Stefan Metzmacher 
Date:   Thu Jun 25 15:32:11 2020 +0200

s3:smbd: skip ctdb public ips in fsctl_network_iface_info()

Multi-Channel clients should not connect to 

[SCM] Samba Shared Repository - branch master updated

2020-07-08 Thread Volker Lendecke
The branch, master has been updated
   via  4faab2a77a6 s3:dbwrap_watch: avoid recursion into 
dbwrap_do_locked() from dbwrap_watched_do_locked_{storev,delete}()
   via  a618776ac4e s3:locking: convert share_mode_lock.c to 
generate_unique_u64()
   via  6c68c75b210 s3:g_lock: avoid very expensive 
generate_random_buffer() in g_lock_parse()
   via  c25fb103ea8 lib/util: add generate_unique_u64() helper function
  from  cd5a2d015bf s3:smbcacls: Add support for DFS path

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


- Log -
commit 4faab2a77a66497ea18ae6df8fee28e27dab1b4a
Author: Stefan Metzmacher 
Date:   Thu May 14 13:32:47 2020 +0200

s3:dbwrap_watch: avoid recursion into dbwrap_do_locked() from 
dbwrap_watched_do_locked_{storev,delete}()

This avoids a lot of overhead!

Using smbtorture3 //foo/bar -U% local-g-lock-ping-pong -o 50
under valgrind --tool=callgrind...

This change replaces this:

 6,877,542,529  PROGRAM TOTALS

   590,000,773  lib/tdb/common/lock.c:tdb_lock_list
   479,000,608  lib/tdb/common/lock.c:tdb_unlock
   446,500,532  lib/tdb/common/io.c:tdb_read
   364,000,824  lib/tdb/common/hash.c:tdb_jenkins_hash
   285,000,532  lib/tdb/common/io.c:tdb_write
   262,054,669  
/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms
   206,500,496  lib/tdb/common/mutex.c:tdb_mutex_lock
   193,000,176  lib/tdb/common/tdb.c:tdb_find
   160,000,256  lib/talloc/talloc.c:_talloc_get_type_abort
   148,500,297  lib/tdb/common/tdb.c:tdb_storev
   140,000,196  lib/tdb/common/lock.c:tdb_lock
   130,000,858  lib/util/debug.c:debuglevel_get_class
   128,003,722  lib/talloc/talloc.c:_talloc_free
   128,000,118  lib/tdb/common/tdb.c:tdb_parse_record
   126,000,576  lib/tdb/common/lock.c:tdb_brlock.part.3
   121,000,272  lib/tdb/common/mutex.c:tdb_mutex_unlock
   118,000,225  /nptl/pthread_mutex_lock.c:__pthread_mutex_lock_full
   112,750,222  lib/tdb/common/freelist.c:tdb_allocate_from_freelist
   108,500,168  lib/tdb/common/io.c:tdb_ofs_read
   102,500,000  lib/tdb/common/io.c:tdb_parse_data

by this:

 5,706,522,398  PROGRAM TOTALS

   434,000,617  lib/tdb/common/lock.c:tdb_lock_list
   389,500,494  lib/tdb/common/io.c:tdb_read
   359,000,488  lib/tdb/common/lock.c:tdb_unlock
   285,000,532  lib/tdb/common/io.c:tdb_write
   237,554,655  
/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms
   208,000,668  lib/tdb/common/hash.c:tdb_jenkins_hash
   206,500,496  lib/tdb/common/mutex.c:tdb_mutex_lock
   160,000,256  lib/talloc/talloc.c:_talloc_get_type_abort
   148,500,297  lib/tdb/common/tdb.c:tdb_storev
   136,000,132  lib/tdb/common/tdb.c:tdb_find
   130,000,858  lib/util/debug.c:debuglevel_get_class
   126,000,576  lib/tdb/common/lock.c:tdb_brlock.part.3
   121,000,272  lib/tdb/common/mutex.c:tdb_mutex_unlock
   118,000,225  /nptl/pthread_mutex_lock.c:__pthread_mutex_lock_full
   112,750,222  lib/tdb/common/freelist.c:tdb_allocate_from_freelist
   112,000,168  lib/tdb/common/lock.c:tdb_lock
94,500,154  lib/tdb/common/io.c:tdb_ofs_read
94,000,188  /nptl/pthread_mutex_unlock.c:__pthread_mutex_unlock_full
86,000,086  lib/dbwrap/dbwrap.c:dbwrap_lock_order_lock
83,000,083  lib/dbwrap/dbwrap_tdb.c:db_tdb_do_locked

time smbtorture3 //foo/bar -U% local-g-lock-ping-pong -o 500

gives:

  902834 locks/sec

 real0m11,103s
 user0m8,233s
 sys 0m2,868s

vs.

 1037262 locks/sec

 real0m9,685s
 user0m6,788s
 sys 0m2,896s

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Volker Lendecke 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Wed Jul  8 11:02:39 UTC 2020 on sn-devel-184

commit a618776ac4e097e27e3c766d996323b1d86a7241
Author: Stefan Metzmacher 
Date:   Tue Jul 7 11:49:27 2020 +0200

s3:locking: convert share_mode_lock.c to generate_unique_u64()

Instead of a sequence number that gets incremented we just
need a value that's not reused.

The is a similar change like the commit before at the g_lock.c
layer.

I expect a similar performance improvement here, but
I don't know a specific benchmark test to check.

Signed-off-by: Stefan Metzmacher 
Reviewed-by: Volker Lendecke 

commit 6c68c75b2100ba95da9575350b3a9d14211a5cc7
Author: Stefan Metzmacher 
Date:   Tue May 19 02:58:23 2020 +0200

s3:g_lock: avoid very expensive generate_random_buffer() in g_lock_parse()

We don't require a sequence number that is incremented,
we just need a value that's not reused.
We use the new generate_unique_u64(), which is much cheaper!

Using smbtorture3