Files
duplicatefinder/config.h
amir b4487cd3a6 Finalizing the implementation of file registration
Adding the file system check in Linux(can be enabled from the config
file)
Adding a more options to the config file
Writing the README
2026-04-28 17:52:02 +01:00

32 lines
659 B
C

#define FILE_HASHES_TXT "file_hashes.txt"
// Metadata selection
#define FILE_TIMES 1 // created and modified time
#define FILE_OWNER 1
#define MULTI_THREADING 1
#define READ_BLOCK KiB(64)
// -------------------- IO Ring Configuration ----------------------
#define USE_IORING 1
#if USE_IORING
#define IORING_BUFFER_SIZE KiB(256)
#define NUM_BUFFERS_PER_THREAD 32
#define MAX_ACTIVE_FILES 16
#define SUBMIT_TIMEOUT_MS 10000
#define IORING_DEBUG_PRINTS 0
#define IORING_DEBUG_STATS 0
#if defined(_WIN32) || defined(_WIN64)
#define USE_REGISTERED_FILES 1
#elif defined(__linux__)
#define USE_REGISTERED_FILES 1
#define CHECK_FILE_SYSTEM 0
#endif
#endif