mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 14:41:43 +00:00
larger item metadata stream chunks, fixes #1452
increasing the mask (target chunk size) from 14 (16kiB) to 17 (128kiB). this should reduce the amount of item metadata chunks an archive has to reference to 1/8. this does not completely fix #1452, but at least enables a 8x larger item metadata stream.
This commit is contained in:
parent
316c0cd6f0
commit
2624d6f818
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
CHUNKER_PARAMS = (CHUNK_MIN_EXP, CHUNK_MAX_EXP, HASH_MASK_BITS, HASH_WINDOW_SIZE)
|
CHUNKER_PARAMS = (CHUNK_MIN_EXP, CHUNK_MAX_EXP, HASH_MASK_BITS, HASH_WINDOW_SIZE)
|
||||||
|
|
||||||
# chunker params for the items metadata stream, finer granularity
|
# chunker params for the items metadata stream, finer granularity
|
||||||
ITEMS_CHUNKER_PARAMS = (12, 16, 14, HASH_WINDOW_SIZE)
|
ITEMS_CHUNKER_PARAMS = (15, 19, 17, HASH_WINDOW_SIZE)
|
||||||
|
|
||||||
has_lchmod = hasattr(os, 'lchmod')
|
has_lchmod = hasattr(os, 'lchmod')
|
||||||
has_lchflags = hasattr(os, 'lchflags')
|
has_lchflags = hasattr(os, 'lchflags')
|
||||||
|
|
Loading…
Reference in a new issue