]> 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>
Fri, 24 Apr 2020 14:07:33 +0000 (15:07 +0100)
libraries/liblmdb/mdb.c

index 580ef46646348d643ac5550ff1158fde04f8be2b..cf3f1349e57d8176ff6940c5af9a3b447ca2899e 100644 (file)
@@ -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;