s3: Cache brlock.tdb entries for the fast read&write strict locking code path
commit05ce15316eaeec0d149c63bfb01bf10e25e8c2e4
authorVolker Lendecke <vl@samba.org>
Mon, 16 Nov 2009 08:40:47 +0000 (16 09:40 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:41:05 +0000 (26 11:41 +0100)
treec45c9c096c8118d563f10cddcd89ed55900960b2
parent4df10370adf11f03e41f01c4b3d0ed8c7ca62b30
s3: Cache brlock.tdb entries for the fast read&write strict locking code path

For a netbench run this gains around 2% user-space CPU, fetching a 100MB file
takes around 4% less.
(cherry picked from commit d73dbd22ac40e0308213726294de0319458b4277)
source3/include/proto.h
source3/include/smb.h
source3/locking/brlock.c
source3/locking/locking.c