s3: Cache brlock.tdb entries for the fast read&write strict locking code path
commitd73dbd22ac40e0308213726294de0319458b4277
authorVolker Lendecke <vl@samba.org>
Mon, 16 Nov 2009 08:40:47 +0000 (16 09:40 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 21 Nov 2009 10:40:59 +0000 (21 11:40 +0100)
treec45c9c096c8118d563f10cddcd89ed55900960b2
parent7301c6deef3241dd9d0a03cfcd1153a958908c19
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.
source3/include/proto.h
source3/include/smb.h
source3/locking/brlock.c
source3/locking/locking.c