summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-11 08:06:11 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-11 08:06:11 +0200
commit745588d87d439a2c9ff5acc5cc3dc4a68db57cf9 (patch)
treebf937191b819910f856520241fa4619273e6bd8e /config.h
parentd937bf0d32fc77b60d796faa8baa0b84c77db00b (diff)
downloadpgfuse-745588d87d439a2c9ff5acc5cc3dc4a68db57cf9.tar.gz
pgfuse-745588d87d439a2c9ff5acc5cc3dc4a68db57cf9.tar.bz2
no hash structure, using the array with a prime
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.h b/config.h
index d7070cf..c822574 100644
--- a/config.h
+++ b/config.h
@@ -21,9 +21,9 @@
/* standard block size, rather a simulation currently */
#define STANDARD_BLOCK_SIZE 512
-/* maximal number of open files, limited currently due to a too simple
- * hash table implementation of open file handles */
-#define MAX_NOF_OPEN_FILES 256
+/* maximal number of open files, may vary as there may be hashtable
+ * collitions. Must be a prime */
+#define MAX_NOF_OPEN_FILES 257
/* maximum size of a file, rather arbitrary, 2^31 is a current implementation
* limit, before fixing this, the storing and efficiency has to be rethought