From 1f026685fd5be35a9641c5c59eff51967244cc26 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 24 Apr 2020 15:07:33 +0100 Subject: [PATCH] ITS#9017 doxygen comment for MDB_FIXEDSIZE --- libraries/liblmdb/mdb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 580ef46..cf3f134 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -4471,6 +4471,11 @@ mdb_env_map(MDB_env *env, void *addr) alloctype = MEM_RESERVE; } + /** Some users are afraid of seeing their disk space getting used + * all at once, so the default is now to do incremental file growth. + * But that has a large performance impact, so give the option of + * allocating the file up front. + */ #ifdef MDB_FIXEDSIZE LARGE_INTEGER fsize; fsize.LowPart = msize & 0xffffffff;