Re-arrange the optimization to reduce tdb fcntl calls if smbd is not
commitf6e3484ba6350204cee0e0a85500b5ebb22fa4db
authorIra Cooper <ira@wakeful.net>
Fri, 19 Aug 2011 17:32:29 +0000 (19 10:32 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 19 Aug 2011 23:15:07 +0000 (20 01:15 +0200)
treebc47e832319e486eef10b7b8055d8dfb7ae3454d
parentc21c25450819c9bf2d88c52e6ba44df2c28a01a4
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
source3/lib/serverid.c