From 9c01725fae58687e5d012c7c5edbeca05950997a 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 af12b51..cf84c98 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -4762,6 +4762,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;