s3: Optimize gencache for smbd exit
commitfbdcaa929c7270469cf6c31fd6fcf94ce4e7306e
authorVolker Lendecke <vl@samba.org>
Tue, 23 Mar 2010 17:36:55 +0000 (23 18:36 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 24 Mar 2010 07:57:29 +0000 (24 08:57 +0100)
treec175b3ef5b4fbd75835ed038c0f1bf41d15b9d48
parenta599319d0a389ff0c31dae8068cd7a78352aa9e7
s3: Optimize gencache for smbd exit

If thousands of smbds try to gencache_stabilize at the same time because the
network died, all of them might be sitting in transaction_start. Don't do the
stabilize transaction if nothing has changed in gencache_notrans.tdb.

Volker
source3/lib/gencache.c