27 Commits

Author SHA1 Message Date
Leo Yuriev
7d63855793 mdbx: simple ioarena-based benchmark.
https://github.com/pmwkaa/ioarena

Change-Id: I8c0a5a2410e243d49541723afe519dbba12ac68d
2016-03-25 04:56:56 +03:00
Leo Yuriev
e47f52a2f3 mdbx: fix gcc warnings.
Change-Id: Ic9014b947541a4d6c399b0d69dfc495cc98c70a2
2016-03-25 04:56:34 +03:00
Leo Yuriev
340da0fd7a mdbx: yota's test.
2014 (C) Copyright Vladimir Romanov, https://www.facebook.com/vvromanov

Change-Id: Ia4cd6cbdd7b7a25c0b217b968337cfd9af721380
2016-03-13 18:24:47 +03:00
Leo Yuriev
0a8e59c314 mdbx: NDEBUG.
Change-Id: I5c8edcad6fc7a0f3f7e4842f4a92fdb685e2e132
2016-02-09 09:20:59 +03:00
Leo Yuriev
c0c3c1b688 mdbx: force gdb-level3 for debuginfo.
Change-Id: Ie11630f4c56482862d765764e5e0c4c9564a476b
2015-12-16 21:35:43 +03:00
Leo Yuriev
297d9e71ac mdbx: Merge branch 'tsan-cleanup' into devel.
Some work as a part of https://github.com/ReOpen/ReOpenLDAP/issues/62
2015-12-13 19:41:19 +03:00
Leo Yuriev
2d2a3ebcfb mdbx: add missing h-deps into Makefile.
Change-Id: Ia3af98e4194b7bfb43973069a634c4c0fb011d5c
2015-12-13 17:58:23 +03:00
Leo Yuriev
a0d056e47e mdbx: less mad in the Makefile.
Change-Id: Iec6a7546424b1e2954cd3c21805ddf01cc77d93e
2015-12-01 18:45:18 +03:00
Heiko Becker
1739a2f4c1 mdbx: backport - ITS#8169 Allow passing mandir to make install.
The motivation for this change is my distribution moving to a multiarch
layout. While the architecture specific stuff (binaries, libraries,
etc.) is installed under /usr/${host}/{bin,lib,...} architecture-independent
data should still be installed to /usr/share/.

Change-Id: I9bc1e4ba975e8ef7fe945ca3b30f044ac40eedf2
2015-11-25 19:08:48 +03:00
Leo Yuriev
fed7922b30 mdbx: link tools librt.so with --no-as-needed.
Change-Id: I9c5096320b264aa14f1905d15e9bd495087d1bb9
2015-11-14 13:42:44 +03:00
Leo Yuriev
b430c9a22f mdbx: Add MDB_USE_ROBUST to control Robust Mutexes.
Backported from origin.

Change-Id: I416c1d09fb1f290423f29a84831accdaf4436ab0
2015-11-06 17:26:41 +03:00
Leo Yuriev
0f82e6e5fd mdbx: Makefile split 'check' and 'tests' targets. 2015-10-21 00:04:35 +03:00
Leo Yuriev
68171d5f5d lmdb: provide both interfaces - advanced 'mdbx' and original 'lmdb'. 2015-10-13 23:50:25 +03:00
Luke Yeager
8e7fbfa063 lmdb: ITS#8256 Create install directories if needed.
Change-Id: Ie44f8529989fd77da0415d0c898b4af3451a851a
2015-10-06 09:59:51 +03:00
Leo Yuriev
fa0751771e lmdb: properly link with librt.so compatibility.
Add '--no-as-needed' to LDFLAGS before -lrt.

Otherwise ld may drop dependency to librt.so,
and DSO could't be loaded when glibc < 2.17.

Change-Id: I06f34958d7efc8c56dd80ce2a55a2b8425e791cd
2015-09-05 18:30:30 +03:00
Leo Yuriev
abda67f23e lmdb: minor Makefile update, CFLAGS from environment.
Change-Id: I1c36f6bbc064136b404b5de18a88961309883018
2015-09-05 13:18:58 +03:00
Leo Yuriev
537fc0fe1a lmdb: simple write benchmark.
Change-Id: Iadcbe8ad5922b2ecf1ea597b188ef368bc097185
2015-08-24 03:36:55 +03:00
Leo Yuriev
255fbfa303 lmdb: added '-v' when calling mdb_chk after tests.
Change-Id: Ic897a3e3d7935ced380f18cd4f2d99219bd77d70
2015-08-05 22:59:18 +03:00
Leo Yuriev
1581fecd08 lmdb: test for weak-checkpoints feature.
This is 8/9 for https://github.com/ReOpen/ReOpenLDAP/issues/1
and https://github.com/ReOpen/ReOpenLDAP/issues/2

Change-Id: I2bd2d62a9b79d2953409c865fad699d554c4b694
2015-05-21 21:40:39 +03:00
Leo Yuriev
da5e3d5133 lmdb: fix test#6 and run it by 'make test'.
Change-Id: I3a5bb363368f46576a5acaf332f9fd7feb46a3e5
2015-05-15 02:24:53 +03:00
Leo Yuriev
7919a0f124 lmdb: run all test with mdb_chk by 'make test'.
Change-Id: If1b742505f23de807b99a5068b5c38421f7ed197
2015-05-09 01:00:27 +03:00
Leo Yuriev
23720958b6 lmdb: mdb_chk tool (initial).
Change-Id: I7d31e0fb45ab56cf8d6df56939e5b3ded6b8e3e5
2015-05-08 03:47:17 +03:00
Leo Yuriev
ae9fdb3a26 lmdb: minor refine 'make test'.
Change-Id: I8c1671b4680d889e04bec3e0b5cd556520854df6
2015-04-23 08:11:18 +03:00
Leo Yuriev
9a76b0a008 liblmdb: fix warnings in lmdb-tools.
Change-Id: I1a1de4bcb9ce9b27f9278f74535e6e83de25bad0
2015-03-24 17:12:08 +03:00
Leo Yuriev
88b465a6ed lmdb-tools: fir LTO-build - use CFLAGS and AR instead of directly. 2015-03-18 09:43:15 +03:00
Leo Yuriev
3fd4f9cce0 lmdb: rework workaround for potential ext3/ext4 corruption issue.
Reworked from branch 'mdb.master' origin OpenLDAP:
  8b6c425 2015-01-12 More cleanup for fdatasync hack
  ea89e3d 2015-01-11 Tweak conditionals for fdatasync hack
  462dc09 2015-01-08 fdatasync hack, again
  e86072a 2015-01-08 Revert "Note MDB_SAFE_FDATASYNC"
  293d6bb 2015-01-08 Note MDB_SAFE_FDATASYNC
  9585c01 2015-01-08 Simpler fdatasync hack
  0ef1e0b 2015-01-08 Revert "Fix prev commit for env_sync0"

Imported early while forking ReOpenLDAP:
  985bbbb 2014-12-21 Fix prev commit for env_sync0
  0018eeb 2014-12-18 Hack for potential ext3/ext4 corruption issue

Change-Id: I187fd320620b9ced2e3773cac96f281ff65f97d4
2015-01-16 00:24:31 +03:00
Leo Yuriev
8431fb6372 OpenLDAP mdb.RE/0.9 at fe8b13f2251d49689b05876b86b3e10bb89993cd (2015-01-01). 2015-01-07 17:55:19 +03:00