]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9017 doxygen comment for MDB_FIXEDSIZE
authorHoward Chu <hyc@openldap.org>
Fri, 24 Apr 2020 14:07:33 +0000 (15:07 +0100)
committerHoward Chu <hyc@openldap.org>
Sat, 10 Oct 2020 14:22:00 +0000 (15:22 +0100)
libraries/liblmdb/mdb.c

index af12b517719b72981ba1b260307fb7fec66570c4..cf84c98e38e442bc70f18b644b76ce423c25236d 100644 (file)
@@ -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;