mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Disable LMDB writemap
(cherry picked from commit 0672e0855b7262cf24ccdfa819b845175bd93cad) # Conflicts: # clouddrive/SingleFileStorage.cpp
This commit is contained in:
parent
ea7e78eb87
commit
09caabff1b
@ -529,7 +529,7 @@ bool LMDBFileIndex::create_env()
|
||||
|
||||
os_create_dir("urbackup/fileindex");
|
||||
|
||||
unsigned int flags = MDB_NOSUBDIR|MDB_WRITEMAP;
|
||||
unsigned int flags = MDB_NOSUBDIR;
|
||||
if(no_sync)
|
||||
{
|
||||
flags|=MDB_NOSYNC;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user