From: Howard Chu Date: Fri, 24 Apr 2020 14:07:33 +0000 (+0100) Subject: ITS#9017 doxygen comment for MDB_FIXEDSIZE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c01725fae58687e5d012c7c5edbeca05950997a;p=thirdparty%2Fopenldap.git ITS#9017 doxygen comment for MDB_FIXEDSIZE --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index af12b51771..cf84c98e38 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;