Define BSIZEAVG in the same way as it is done for MIN/MAX - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 17e33eb2f548925c5a1fead6c2bfe65f6f16cade
DIR parent 08600b08eec99d0c6fce2749ade192cadd4a0ba5
HTML Author: sin <sin@2f30.org>
Date: Thu, 16 May 2019 14:48:14 +0100
Define BSIZEAVG in the same way as it is done for MIN/MAX
Diffstat:
M config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/config.h b/config.h
@@ -2,8 +2,8 @@
#define STORAGEPATH "storage"
#define MDSIZE 32
#define KEYSIZE 32 /* should match crypto_aead_xchacha20poly1305_ietf_KEYBYTES */
-#define BSIZEAVG ((size_t)(1ul << 21))
#define BSIZEMIN ((size_t)524288)
+#define BSIZEAVG ((size_t)2097152)
#define BSIZEMAX ((size_t)8388608)
#define HMASKBITS (BSIZEAVG - 1)
#define WINSIZE ((size_t)4095)