More whitespace cleanup and MPLv2 licensing support.
This commit is contained in:
parent
10f40e1c6f
commit
c1411a6af6
4 changed files with 11 additions and 3 deletions
|
@ -326,10 +326,10 @@ Advanced usage
|
||||||
from the temp file and actual deduplication is performed. This allows the
|
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
|
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.
|
requires very few disk reads for every 2048 blocks processed.
|
||||||
|
|
||||||
In pipe mode Global Deduplication always uses a segmented similarity based
|
In pipe mode Global Deduplication always uses a segmented similarity based
|
||||||
index. It allows efficient network transfer of large data.
|
index. It allows efficient network transfer of large data.
|
||||||
|
|
||||||
-B <0..5>
|
-B <0..5>
|
||||||
Specify an average Dedupe block size. 0 - 2K, 1 - 4K, 2 - 8K ... 5 - 64K.
|
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
|
Default deduplication block size is 4KB for Global Deduplication and 2KB
|
||||||
|
|
|
@ -129,8 +129,12 @@ adapt_props(algo_props_t *data, int level, uint64_t chunksize)
|
||||||
data->delta2_span = 200;
|
data->delta2_span = 200;
|
||||||
data->deltac_min_distance = EIGHTM;
|
data->deltac_min_distance = EIGHTM;
|
||||||
ext1 = lz4_buf_extra(chunksize);
|
ext1 = lz4_buf_extra(chunksize);
|
||||||
|
|
||||||
|
#ifdef ENABLE_PC_LIBBSC
|
||||||
ext2 = libbsc_buf_extra(chunksize);
|
ext2 = libbsc_buf_extra(chunksize);
|
||||||
if (ext2 > ext1) ext1 = ext2;
|
if (ext2 > ext1) ext1 = ext2;
|
||||||
|
#endif
|
||||||
|
|
||||||
data->buf_extra = ext1;
|
data->buf_extra = ext1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
;# If not, see <http://www.gnu.org/licenses/>.
|
;# If not, see <http://www.gnu.org/licenses/>.
|
||||||
;#
|
;#
|
||||||
;# moinakg@belenix.org, http://moinakg.wordpress.com/
|
;# moinakg@belenix.org, http://moinakg.wordpress.com/
|
||||||
;#
|
;#
|
||||||
|
|
||||||
;#
|
;#
|
||||||
;# NOTE:
|
;# NOTE:
|
||||||
|
|
|
@ -43,7 +43,11 @@
|
||||||
#include <pcompress.h>
|
#include <pcompress.h>
|
||||||
#include <allocator.h>
|
#include <allocator.h>
|
||||||
#include <rabin_dedup.h>
|
#include <rabin_dedup.h>
|
||||||
|
|
||||||
|
#ifndef _MPLV2_LICENSE_
|
||||||
#include <lzp.h>
|
#include <lzp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <transpose.h>
|
#include <transpose.h>
|
||||||
#include <delta2/delta2.h>
|
#include <delta2/delta2.h>
|
||||||
#include <crypto/crypto_utils.h>
|
#include <crypto/crypto_utils.h>
|
||||||
|
|
Loading…
Reference in a new issue