[PATCH] caching optimization in share mode locks.
jra at samba.org
Thu Apr 16 17:54:56 MDT 2015
On Tue, Apr 14, 2015 at 06:08:54PM -0700, Jeremy Allison wrote:
> OK, I think I've figured out a way to do all this
> reasonably cleanly. I should have a version 2 for
> people to look at this week.
OK, here's the updated version:
Changes from the previous version:
1). No longer uses sequence number as the memcache key (doh!).
Now uses the locking key used in the normal tdb as the
memcache lookup value. Should prevent any orphaned records
in the memcache.
2). Uses ndr_pull_hyper() to get at the sequence record
in the blob, rather than doing dodgy memcpy from the
start of the blob.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11071 bytes
Desc: not available
More information about the samba-technical