From 82d98e3a23365e85480932c71045de308c7150a3 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 10 Dec 2015 22:16:34 +0100 Subject: [PATCH] A new possible idea about small block for TODO list --- TODO | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/TODO b/TODO index 6b216ece..d5619be3 100644 --- a/TODO +++ b/TODO @@ -101,6 +101,20 @@ File with the same name will get an extra extension like ".1", ".2". * Use threads to scan all the disks at the same time. +* https://sourceforge.net/p/snapraid/discussion/1677233/thread/2cb97e8a/ +Have two hashes for each file. One for the first segment, that may use only a part of the first parity block. +And a second hash that takes care of the final segment, also using only part of a parity block. +Intermediate blocks can be handled like now. +The first and last segment can use only a part of the parity block, sharing it with other files, +and then allowing big parity blocks. ++ Big parity block, like 1MB, and small file allocation, like 4KB. +- It won't be possible to copy hash info from one disk to another, as copied files +may have a different block splitting. Copied file should be allocated with the same exact +splitting. +- Dup detection can be handled with a dedicated hash covering the full file. But increasing +the number of hash for each file to three. +- No way to handle block import. + * Create a filesystem snapshot at every sync, and use it in all the other commands automatically. At the next sync, drop the old snapshot and create a new one.