More whitespace cleanup and MPLv2 licensing support.

This commit is contained in:
Moinak Ghosh 2014-07-24 23:48:42 +05:30
parent 10f40e1c6f
commit c1411a6af6
4 changed files with 11 additions and 3 deletions

View file

@ -326,10 +326,10 @@ Advanced usage
from the temp file and actual deduplication is performed. This allows the
in-memory index size to be approximately 0.0025% of the total dataset size and
requires very few disk reads for every 2048 blocks processed.
In pipe mode Global Deduplication always uses a segmented similarity based
index. It allows efficient network transfer of large data.
-B <0..5>
Specify an average Dedupe block size. 0 - 2K, 1 - 4K, 2 - 8K ... 5 - 64K.
Default deduplication block size is 4KB for Global Deduplication and 2KB

View file

@ -129,8 +129,12 @@ adapt_props(algo_props_t *data, int level, uint64_t chunksize)
data->delta2_span = 200;
data->deltac_min_distance = EIGHTM;
ext1 = lz4_buf_extra(chunksize);
#ifdef ENABLE_PC_LIBBSC
ext2 = libbsc_buf_extra(chunksize);
if (ext2 > ext1) ext1 = ext2;
#endif
data->buf_extra = ext1;
}

View file

@ -20,7 +20,7 @@
;# If not, see <http://www.gnu.org/licenses/>.
;#
;# moinakg@belenix.org, http://moinakg.wordpress.com/
;#
;#
;#
;# NOTE:

View file

@ -43,7 +43,11 @@
#include <pcompress.h>
#include <allocator.h>
#include <rabin_dedup.h>
#ifndef _MPLV2_LICENSE_
#include <lzp.h>
#endif
#include <transpose.h>
#include <delta2/delta2.h>
#include <crypto/crypto_utils.h>