openldap.git branch mdb.master updated. 92f71f50f9f2a9e93c7d757538688376a6f6debb
by openldap-commit2devel@OpenLDAP.org
A ref change was pushed to the OpenLDAP (openldap.git) repository.
It will be available in the public mirror shortly.
The branch, mdb.master has been updated
via 92f71f50f9f2a9e93c7d757538688376a6f6debb (commit)
via fc87d405f1636d2241306584189f6b1266bbb833 (commit)
via 9d6e4a916367e85ffdf37b1cb7b5cdb7ac0e15b5 (commit)
via 25d370cb2e13a6959e78fa20da750bfc1643d837 (commit)
from 550bbe3788fafdf0fddcb2130173c1349fbc477f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 92f71f50f9f2a9e93c7d757538688376a6f6debb
Author: Hallvard Furuseth <hallvard(a)openldap.org>
Date: Thu Nov 7 23:41:30 2013 +0100
Add MDB_CLEANMEM option.
Initialize unused portions of DB pages, for security or to silence
checkers like Purify and Valgrind. Like BDB configure --enable-umrw.
commit fc87d405f1636d2241306584189f6b1266bbb833
Author: Hallvard Furuseth <hallvard(a)openldap.org>
Date: Thu Nov 7 23:38:15 2013 +0100
Fix MDB_MAXKEYSIZE doc: Account for MDB_DUPSORT.
A node may need room for [key, subpage with 2 items] = 3 keys.
commit 9d6e4a916367e85ffdf37b1cb7b5cdb7ac0e15b5
Author: Hallvard Furuseth <hallvard(a)openldap.org>
Date: Thu Nov 7 23:38:15 2013 +0100
ITS#7713 Handle bigger OS page sizes
Use DB page size = min(32k, OS pagesize). Previous limit was 8k
(MDB_MINKEYS*MDB_PAGESIZE).
Handle DB pagesize < OS pagesize. That's an I/O pessimization,
but transactions remain atomic: Only writing the MDB_meta must
be atomic, and it fits in one OS page.
Don't truncate desired subpage size: Asssign it to a size_t
(mv_size), not an uint16_t (mp_upper).
commit 25d370cb2e13a6959e78fa20da750bfc1643d837
Author: Hallvard Furuseth <hallvard(a)openldap.org>
Date: Thu Nov 7 23:38:15 2013 +0100
mdb_cursor_put(): Factor out code. Kill a label.
-----------------------------------------------------------------------
Summary of changes:
libraries/liblmdb/lmdb.h | 26 ++++++
libraries/liblmdb/mdb.c | 215 ++++++++++++++++++++++++++------------------
libraries/liblmdb/mtest.c | 2 +-
libraries/liblmdb/mtest2.c | 2 +-
4 files changed, 155 insertions(+), 90 deletions(-)
---
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git