aboutsummaryrefslogtreecommitdiffstats
path: root/fusearchive.py
diff options
context:
space:
mode:
Diffstat (limited to 'fusearchive.py')
-rwxr-xr-xfusearchive.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fusearchive.py b/fusearchive.py
index a72e961..c4e3811 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -24,9 +24,9 @@ fuse.fuse_python_api = (0, 2)
fuse.feature_assert('stateful_files', 'has_init')
-magic_blocksize = 1024 * 32
+magic_blocksize = 1024 * 128
magic_depth = 5
-debug_level = 0
+debug_level = 3
# Memory for dirty blocks, per file (1M)
dirty_size = 1024 * 1024 * 1;
@@ -285,7 +285,7 @@ class FuseArchive(Fuse):
# This is the current in-memory chunk and offset in to data[]
self.chunk_cache = {};
self.chunk = ''
- self.chunk_index = 0
+ self.chunk_index = -1
self.chunk_modified = False
self.chunk_size = magic_blocksize
self.dirty_chunks = 0