]> arthur.barton.de Git - netatalk.git/commitdiff
ooops! Previous commit requested 64 GB cache instead of 64 MB...
authorfranklahm <franklahm>
Mon, 21 Dec 2009 07:32:01 +0000 (07:32 +0000)
committerfranklahm <franklahm>
Mon, 21 Dec 2009 07:32:01 +0000 (07:32 +0000)
etc/cnid_dbd/cmd_dbd.c
etc/cnid_dbd/db_param.h

index 78e5cd4763493312c741f8068bca091d7529a136..4e609020875b476a812cb36efc92cf174523fe9a 100644 (file)
@@ -1,5 +1,5 @@
 /* 
-   $Id: cmd_dbd.c,v 1.21 2009-12-21 06:41:09 franklahm Exp $
+   $Id: cmd_dbd.c,v 1.22 2009-12-21 07:32:01 franklahm Exp $
 
    Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
    
@@ -91,7 +91,7 @@ static int exclusive;           /* Exclusive volume access */
 static struct db_param db_param = {
     NULL,                       /* Volume dirpath */
     1,                          /* bdb logfile autoremove */
-    64 * 1024 * 1024,           /* bdb cachesize */
+    64 * 1024,                  /* bdb cachesize (64 MB) */
     -1,                         /* not used ... */
     -1,
     "",
index 51d12ee9c03991486ca91be7c7215c818001ee12..ebcea6b823185494b937d31a78df6a0974e36a10 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: db_param.h,v 1.5 2009-10-13 22:55:37 didg Exp $
+ * $Id: db_param.h,v 1.6 2009-12-21 07:32:01 franklahm Exp $
  *
  * Copyright (C) Joerg Lenneis 2003
  * All Rights Reserved.  See COPYING.
@@ -19,7 +19,7 @@ enum identity {
 struct db_param {
     char *dir;
     int logfile_autoremove;
-    int cachesize;
+    int cachesize;              /* in KB */
     int flush_interval;
     int flush_frequency;
     char usock_file[MAXPATHLEN + 1];