dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 346aca7c9992b325ea9683adf7327c55613a1c54
parent cf6f545f03714670fd72ca10e6e4293154d4a28f
Author: sin <sin@2f30.org>
Date:   Sat,  2 Mar 2019 11:29:31 +0000

Change params

Diffstat:
Mconfig.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.h b/config.h @@ -1,5 +1,5 @@ -#define BLKSIZE_AVG ((size_t)524288) -#define BLKSIZE_MIN ((BLKSIZE_AVG) / 4) -#define BLKSIZE_MAX ((BLKSIZE_AVG) * 4) +#define BLKSIZE_AVG ((size_t)(1ul << 21)) +#define BLKSIZE_MIN ((size_t)524288) +#define BLKSIZE_MAX ((size_t)8388608) #define HASHMASK_BITS (BLKSIZE_AVG - 1) -#define WINSIZE 32 +#define WINSIZE ((size_t)4095)