diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-11 08:06:11 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-11 08:06:11 +0200 |
commit | 745588d87d439a2c9ff5acc5cc3dc4a68db57cf9 (patch) | |
tree | bf937191b819910f856520241fa4619273e6bd8e /config.h | |
parent | d937bf0d32fc77b60d796faa8baa0b84c77db00b (diff) | |
download | pgfuse-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |