Commit Graph

  • 25e20315ae mdbx: minor fix for MSVC2019. Leonid Yuriev 2019-08-28 04:42:07 +03:00
  • 9ddfa4f9c8 mdbx-windows: use PrefetchVirtualMemory(). Leonid Yuriev 2019-08-27 23:27:36 +03:00
  • fd0c92927a mdbx: refine usage of posix_fadvise()madvise()/posix_madvise()/F_RDADVISE. Leonid Yuriev 2019-08-27 21:35:43 +03:00
  • 53b60cdecc mdbx-load: backport - fix backslash escaping (for compatibility with ITS#9068). Leonid Yuriev 2019-08-27 14:50:19 +03:00
  • 09cc8c51e2 mdbx-load: backport - fix backslash escaping (for compatibility with ITS#9068). Leonid Yuriev 2019-08-27 14:50:19 +03:00
  • 8329f5b6a1 mdbx-load: fix backslash escaping (for compatibility with ITS#9068). Leonid Yuriev 2019-08-27 14:50:19 +03:00
  • 49b83e5adf mdbx: import - ITS#9068 fix backslash escaping. Howard Chu 2019-08-26 17:51:53 +01:00
  • b3a9b3ca1a mdbx: avoid refs to mdbx_runtime_flags from tools. Leonid Yuriev 2019-08-27 00:29:15 +03:00
  • 55ca2f0ed1 mdbx: makes handling NDEBUG option more convenient. Leonid Yuriev 2019-08-26 22:57:14 +03:00
  • eb37dad115 mdbx: note about MDBX_AVOID_CRT option in the README. Leonid Yuriev 2019-08-25 16:26:41 +03:00
  • 5eb3b77efe mdbx-posix: rework LCK seize/destroy. Leonid Yuriev 2019-08-25 15:56:43 +03:00
  • 2536dc47ac mdbx: refine features-macros for xBSD. Leonid Yuriev 2019-08-25 11:49:33 +00:00
  • a03c5d1f3f mdbx-posix: destroys shared mutexes in the last process. Leonid Yuriev 2019-08-25 14:18:06 +03:00
  • ed58af2512 mdbx-posix: minor fix mdbx_lck_destroy(). Leonid Yuriev 2019-08-25 05:20:20 +03:00
  • 137d652d77 mdbx: refine attribute-based macros. Leonid Yuriev 2019-08-25 03:05:58 +03:00
  • 7780b76cf0 mdbx: fix internal typo. Leonid Yuriev 2019-08-23 22:15:35 +03:00
  • 93f82f47bd mdbx: refine setup_debug(), add MDBX_DBG_LEGACY_MULTIOPEN. Leonid Yuriev 2019-08-23 21:38:33 +03:00
  • b357897745 mdbx: backport - fix reclaiming_detent() for out-of-txn case. Leonid Yuriev 2019-08-23 17:47:38 +03:00
  • 91ab9e2804 mdbx: backport - fix reclaiming_detent() for out-of-txn case. Leonid Yuriev 2019-08-23 17:47:38 +03:00
  • 33a4f31f92 mdbx: fix reclaiming_detent() for out-of-txn case. Leonid Yuriev 2019-08-23 17:46:33 +03:00
  • 4ceaf842fe mdbx: add timed auto-sync feature. Leonid Yuriev 2019-08-23 13:13:20 +03:00
  • 68e0076ca3 mdbx: rework auto-sync by volume feature. Leonid Yuriev 2019-08-23 11:40:30 +03:00
  • 6f8238e1e9 mdbx: LCK-format version 3. Leonid Yuriev 2019-08-23 03:36:56 +03:00
  • 78e354689e mdbx: backport - don't shrink DB less largest reader inside mdbx_env_set_geometry(). Leonid Yuriev 2019-08-22 22:33:18 +03:00
  • 45487eb052 mdbx: backport - fix env_sync_ex() for out-of-txn case. Leonid Yuriev 2019-08-22 21:11:49 +03:00
  • 0eff1930b5 mdbx: backport - don't shrink DB less largest reader inside mdbx_env_set_geometry(). Leonid Yuriev 2019-08-22 22:33:18 +03:00
  • 263dbd97c5 mdbx: backport - fix env_sync_ex() for out-of-txn case. Leonid Yuriev 2019-08-22 21:11:49 +03:00
  • de88707946 mdbx: don't shrink DB less largest reader inside mdbx_env_set_geometry(). Leonid Yuriev 2019-08-22 22:33:18 +03:00
  • 0c63859459 mdbx: minor refine copy_asis(). Leonid Yuriev 2019-08-22 21:37:56 +03:00
  • 65fd8be9b5 mdbx: fix env_sync_ex() for out-of-txn case. Leonid Yuriev 2019-08-22 21:11:49 +03:00
  • 9168f8c69d mdbx: fix NULL-deref bug (Coverity). Leonid Yuriev 2019-08-21 02:07:02 +03:00
  • a6155bcf2a mdbx: update READMEs (build section). Leonid Yuriev 2019-08-21 01:05:57 +03:00
  • 07aa657b63 mdbx-build: minor refine Makefile. Leonid Yuriev 2019-08-20 20:53:43 +03:00
  • 887cbc7f00 mdbx: update README (MacOS support). Leonid Yuriev 2019-08-20 15:04:56 +03:00
  • e04bfc05fa mdbx: rename MDBX_OSX_SPEED_INSTEADOF_DURABILITY option. Leonid Yuriev 2019-08-20 15:04:32 +03:00
  • 6f0a11f155 mdbx: merge branch 'osx-try'. Leonid Yuriev 2019-08-20 03:18:31 +03:00
  • 657d37c9e3 mdbx: add MDBX_OSX_SPEED_OR_DURABILITY build-time #define for MacOS. Leonid Yuriev 2019-08-20 02:45:03 +03:00
  • ccbf3a2bcf mdbx: rework mdbx_filesync(). Leonid Yuriev 2019-08-20 00:17:28 +03:00
  • 261f697d8c mdbx: skip msync(MS_ASYNC) on Linux > 2.6.19. Leonid Yuriev 2019-08-19 21:31:05 +03:00
  • 226cb3ac90 mdbx: use F_FULLFSYNC on MacOS. Leonid Yuriev 2019-08-19 20:41:02 +03:00
  • 691898d129 mdbx-make: fix so/dll-suffix for MacOS. Leonid Yuriev 2019-08-19 08:11:13 -07:00
  • 351939dd5d mdbx-test: reduce number of test-iteration for MacOS. Leonid Yuriev 2019-08-19 15:58:57 +03:00
  • 32a5b9089b mdbx-test: extend darwin-pthread-barrier for multiprocess-shared. Leonid Yuriev 2019-08-13 02:37:29 +03:00
  • 3f64d45819 mdbx-test: initial OSX support. Leonid Yuriev 2019-08-13 02:12:13 +03:00
  • 054a88c502 mdbx-test: add darwin-pthread-barrier. Leonid Yuriev 2019-08-13 01:59:06 +03:00
  • 91088af935 mdbx: initial OSX support. Leonid Yuriev 2019-08-13 02:07:10 +03:00
  • f5a25b8d5e mdbx-ci: enable OSX build for travis-ci. Leonid Yuriev 2019-08-11 00:34:32 +03:00
  • dcd4574510 mdbx-build: more Qt-Creator files. Leonid Yuriev 2019-08-12 15:55:24 +03:00
  • 7960f67ea6 mdbx-chk: "backed-pages > file-pages" isn't error in the non-exclusive or read-only modes. Leonid Yuriev 2019-08-12 15:40:37 +03:00
  • bceace7a09 mdbx: clarify shrink/grow-related internals. Leonid Yuriev 2019-08-12 15:26:26 +03:00
  • 5244c1a9c2 mdbx-chk: "backed-pages less filesize" isn't an error on Windows. Leonid Yuriev 2019-08-12 12:22:48 +03:00
  • cfaed9d761 mdbx-chk: don't use internal mdbx_filesize(). Leonid Yuriev 2019-08-12 11:40:32 +03:00
  • 5b09105a6d mdbx-chk: check filesize/backed-pages/alloc-pages. Leonid Yuriev 2019-08-12 02:43:13 +03:00
  • bc3d1a84cc mdbx-chk: use mdbx_env_stat2() and mdbx_env_stat2() to avoid races. Leonid Yuriev 2019-08-12 01:38:13 +03:00
  • 17407c9ecc mdbx: add mdbx_env_info2(txn) and mdbx_env_stat2(txn). Leonid Yuriev 2019-08-11 23:22:51 +03:00
  • d6a2f98ef5 mdbx: more env-signature checks. Leonid Yuriev 2019-08-11 22:54:06 +03:00
  • a6449f36f6 mdbx-chk: more for false-positive 'wrong idl entry' fix. Leonid Yuriev 2019-08-11 20:08:23 +03:00
  • 69f831af0b mdbx: refine lck-posix implementation. Leonid Yuriev 2019-08-11 19:13:29 +03:00
  • 036144eed4 mdbx-chk: fix false-positive 'wrong idl entry' error(s). Leonid Yuriev 2019-08-11 16:33:03 +03:00
  • 8917fb30bf mdbx: make lck-wait ops breakable for linux/posix. Leonid Yuriev 2019-08-11 12:22:02 +03:00
  • bf0e0382fc mdbx: use O_DIRECT for db-copy. Leonid Yuriev 2019-08-11 01:06:59 +03:00
  • 2b2eedbbf0 mdbx: add POSIX-2008 note to README. Leonid Yuriev 2019-08-11 00:23:18 +03:00
  • bdc77df921 mdbx: fix race-with-close for lck-posix. Leonid Yuriev 2019-08-11 00:07:21 +03:00
  • 673f867e3c mdbx: minor refine Linux lck-implementation. Leonid Yuriev 2019-08-10 23:25:17 +03:00
  • 1e3637af59 mdbx-test: refine long_stochastic-script for FreeBSD compatibility. Leonid Yuriev 2019-08-10 23:04:00 +03:00
  • c6369e68a3 mdbx: draft support for non-Linux POSIX-platforms (FreeBSD, MacOS, etc). Leonid Yuriev 2019-08-10 15:38:09 +03:00
  • ce64c5aa37 mdbx: use OFD (open file) locks on Linux. Leonid Yuriev 2019-08-10 12:53:16 +03:00
  • a008b0b16f mdbx: description of lck-implementation for Linux. Leonid Yuriev 2019-08-09 21:36:02 +03:00
  • 1798904cf4 mdbx: description of internal lck API. Leonid Yuriev 2019-08-09 21:33:18 +03:00
  • 214df7c1e1 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • 334aa68a85 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • 4bfb3ec238 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • 416a14fb85 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • f0fb56415c mdbx-make: avoid multi-processing for cross-qemu (EPERM for alien shared mutex). Leonid Yuriev 2019-07-22 01:24:04 +03:00
  • 663f3f3c58 mdbx: conditionally use cacheflush() for linux < 2.6.11 Leonid Yuriev 2019-07-22 00:19:15 +03:00
  • a6bad26e1d mdbx: rename/clarify flush_noncoherent_cpu_writeback(). Leonid Yuriev 2019-07-21 21:10:06 +03:00
  • f39044124e mdbx: clarify/rework invalidate_mmap_noncoherent_cache() for MIPS. Leonid Yuriev 2019-07-20 16:10:15 +03:00
  • cc75679214 mdbx: minor refine README. Leonid Yuriev 2019-07-19 06:17:12 +03:00
  • 7b4f5d9c4b mdbx: updates the README to be less ugly. Leonid Yuriev 2019-07-18 20:19:44 +03:00
  • 6413dcc2c6 mdbx-make: refine check-fault target (minor). Leonid Yuriev 2019-07-17 15:21:14 +03:00
  • 0b8ac37450 mdbx: reduces number of getpid() calls for checking PID against fork(). Leonid Yuriev 2019-07-16 11:52:10 +03:00
  • 7c7d5f4434 mdbx: made README content less ugly. Leonid Yuriev 2019-07-16 03:16:25 +03:00
  • 4adb1ab2d8 mdbx: portability - rename lck-posix.c to lck-linux.c Leonid Yuriev 2019-07-15 00:29:46 +03:00
  • 6eebac1510 mdbx: portability - drop unused mul_64x64_128(). Leonid Yuriev 2019-07-14 03:21:09 +03:00
  • 814f8fe7ab mdbx-test: portability - undefine BSD's roundup2() macro. Leonid Yuriev 2019-07-14 03:19:40 +03:00
  • fac0c4c5c0 mdbx-test: portability - define bswap() macros conditionally. Leonid Yuriev 2019-07-14 02:08:14 +03:00
  • f37a760dda mdbx: portability - O# for ld's options. Leonid Yuriev 2019-07-14 01:32:09 +03:00
  • 2544a621e7 mdbx: portability - support for non-_GNU_SOURCE mode. Leonid Yuriev 2019-07-14 00:49:00 +03:00
  • 41f00485fd mdbx: portability - allows operation without mremap(). Leonid Yuriev 2019-07-14 00:39:17 +03:00
  • 97e4f66d16 mdbx: portability - support for musl libc. Leonid Yuriev 2019-07-13 23:25:34 +03:00
  • f2c3fcb6a4 mdbx: portability - define MDBX_ENODATA=-1 if ENODATA not available. Leonid Yuriev 2019-07-13 20:20:43 +03:00
  • cf7160bda2 mdbx: portability - don't include malloc.h on BSD. Leonid Yuriev 2019-07-13 20:07:56 +03:00
  • 097b274aa4 mdbx: portability - use C11 aligned_alloc(). Leonid Yuriev 2019-07-13 20:07:42 +03:00
  • 8f7ea1844b mddx: portability - compatibility with BSD-style __assert(). Leonid Yuriev 2019-07-13 20:07:24 +03:00
  • b3286bad16 mdbx: portability - fix __dll_hidden/__hidden typo. Leonid Yuriev 2019-07-13 19:57:32 +03:00
  • 3ac2af61aa mdbx: cleanup msvc-compat feature test defs. Leonid Yuriev 2019-07-13 12:07:14 +03:00
  • ae34255350 mdbx-test: adds check for prerequisites to long_stochastic.sh Leonid Yuriev 2019-07-12 21:27:34 +03:00
  • 1a123b5395 mdbx: backport - fix DB-shrinking race with copy-asis & readers. Leonid Yuriev 2019-07-09 15:23:19 +03:00
  • 961f08a5d2 mdbx: backport - refine backlog preparation inside update_gc(). Leonid Yuriev 2019-07-08 15:27:26 +03:00
  • eefbb7f063 mdbx: remove extra prep_backlog_data() inside update_gc(). v0.3.1 Leonid Yuriev 2019-07-09 15:49:04 +03:00