Skip to content
This repository has been archived by the owner. It is now read-only.

Get rid of dirty-pages list in MDBX_WRITEMAP mode #193

Open
erthink opened this issue May 7, 2021 · 0 comments
Open

Get rid of dirty-pages list in MDBX_WRITEMAP mode #193

erthink opened this issue May 7, 2021 · 0 comments
Labels

Comments

@erthink
Copy link
Owner

erthink commented May 7, 2021

libmdbx/src/options.h

Lines 112 to 120 in c15ad25

/* Basically, this build-option is for TODO. Guess it should be replaced
* with MDBX_ENABLE_WRITEMAP_SPILLING with the three variants:
* 0/OFF = Don't track dirty pages at all and don't spilling ones.
* This should be by-default on Linux and may-be other systems
* (not sure: Darwin/OSX, FreeBSD, Windows 10) where kernel provides
* properly LRU tracking and async writing on-demand.
* 1/ON = Lite tracking of dirty pages but with LRU labels and explicit
* spilling with msync(MS_ASYNC). */
#ifndef MDBX_FAKE_SPILL_WRITEMAP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant