Improves recovering after an aborted sync.

This commit is contained in:
Andrea Mazzoleni 2012-02-09 23:17:36 +01:00
parent f14ab1aa3b
commit 55fae37e7f
13 changed files with 758 additions and 137 deletions

View file

@ -678,12 +678,44 @@ BLOCK is the block position in the "parity" file.
HASH is the hash of the block. In the last block of the file,
the HASH is the hash of only the used part of the block.
10.7 inv BLOCK [HASH]
---------------------
10.7 inv BLOCK HASH
-------------------
Like "blk", but inform that the parity of this block is invalid.
The HASH may be missing if not yet computed.
This field is used only when you interrupt manually the "sync"
command.
10.8 new BLOCK
--------------
Like "blk", but for new allocated blocks for which the hash is not
yet computed.
This field is used only when you interrupt manually the "sync"
command.
10.9 chg BLOCK
--------------
Like "blk", but for reallocated blocks for which the hash is not
yet computed.
This field is used only when you interrupt manually the "sync"
command.
10.10 hole DISK
---------------
Defines the list of blocks that are deleted from a disk.
This field is used only when you interrupt manually the "sync"
command.
10.11 off BLOCK
---------------
Defines the block deleted from a disk.
This field is used only when you interrupt manually the "sync"
command.