Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 632 Bytes

File metadata and controls

18 lines (11 loc) · 632 Bytes

Introduction

This is an implementation Content Defined Chunking based on Rabin Footprint .It is extracted from the source code of seafile project.

You can build this project by running make.

Usage

cdc

Set min block size and max block size

#define CDC_MIN_BLOCK_SIZE (6 * (1 << 20))     /* 6MB */
#define CDC_MAX_BLOCK_SIZE (10 * (1 << 20))    /* 10MB */

If you need the block to be larger or smaller,just change these macros in cdc.c to the value you need.