diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-17 17:29:28 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-17 17:29:28 +0200 |
commit | b9a0010bb4fe327ae9361620f31cea955c597a4d (patch) | |
tree | b68f56ddb0dc462183e2417acf993a0f71602a8c /config.h | |
parent | 2bff3ee6b41dc11e0bbaf9ef8a94a3bfce8b975c (diff) | |
download | pgfuse-b9a0010bb4fe327ae9361620f31cea955c597a4d.tar.gz pgfuse-b9a0010bb4fe327ae9361620f31cea955c597a4d.tar.bz2 |
started to prepare for multi-threaded version, logigng the pid/thread_id in verbose mode
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -19,21 +19,26 @@ #define CONFIG_H /* version of PgFuse */ -#define PGFUSE_VERSION "0.0.1" + +#define PGFUSE_VERSION "0.0.1" /* standard block size, rather a simulation currently */ -#define STANDARD_BLOCK_SIZE 512 + +#define STANDARD_BLOCK_SIZE 512 /* maximal number of open files, may vary as there may be hashtable * collitions. Must be a prime */ -#define MAX_NOF_OPEN_FILES 257 + +#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 * anyway.. */ -#define MAX_FILE_SIZE 10485760 + +#define MAX_FILE_SIZE 10485760 /* maximum length of a filename , rather arbitrary choice */ -#define MAX_FILENAME_LENGTH 4096 + +#define MAX_FILENAME_LENGTH 4096 #endif |