summaryrefslogtreecommitdiff
path: root/lib/tdb_compat/tdb_compat.c
diff options
context:
space:
mode:
authorIra Cooper <ira@wakeful.net>2011-08-19 10:32:29 -0700
committerJeremy Allison <jra@samba.org>2011-08-20 01:15:07 +0200
commitf6e3484ba6350204cee0e0a85500b5ebb22fa4db (patch)
treebc47e832319e486eef10b7b8055d8dfb7ae3454d /lib/tdb_compat/tdb_compat.c
parentc21c25450819c9bf2d88c52e6ba44df2c28a01a4 (diff)
downloadsamba-f6e3484ba6350204cee0e0a85500b5ebb22fa4db.tar.gz
samba-f6e3484ba6350204cee0e0a85500b5ebb22fa4db.tar.bz2
samba-f6e3484ba6350204cee0e0a85500b5ebb22fa4db.zip
Re-arrange the optimization to reduce tdb fcntl calls if smbd is not
clustered. procid_is_me() is much cheaper to test and can optimize up to 50% of the calls to serverid_exists(). Volker please check. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 20 01:15:07 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/tdb_compat/tdb_compat.c')
0 files changed, 0 insertions, 0 deletions