Make .unrecoverable a persistent one-way recovery quarantine

This commit is contained in:
Andrea Mazzoleni 2026-08-29 21:25:49 +02:00
parent ab26c7a056
commit 0f9ae3977c
46 changed files with 646 additions and 367 deletions

View file

@ -261,6 +261,12 @@ struct snapraid_block {
*/
#define FILE_IS_UNSYNCED 0x100
/**
* If the current recovery attempt was actually moved to the .unrecoverable name.
* It's used only in fix to track the physical quarantine state independently
* from FILE_IS_DAMAGED.
*/
#define FILE_IS_QUARANTINED 0x200
/**
* The file is deleted.