libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
erasure.h File Reference

On-disk structures for erasure coding recovery data. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  ErasureCodingMapHeader
 Header for the Erasure Coding Map Block (BlockType::ErasureCodingMapBlock). More...
struct  StripeGroupDescriptor
 Describes one protection group within the ECMB payload. More...
struct  StripeDataBlockEntry
 Per-data-block metadata within a stripe descriptor. More...
struct  StripeParityBlockEntry
 Per-parity-block metadata within a stripe descriptor. More...
struct  AaruRecoveryFooter
 Recovery footer written at the very end of the file (last 160 bytes). More...

Typedefs

typedef struct ErasureCodingMapHeader ErasureCodingMapHeader
typedef struct StripeGroupDescriptor StripeGroupDescriptor
typedef struct StripeDataBlockEntry StripeDataBlockEntry
typedef struct StripeParityBlockEntry StripeParityBlockEntry
typedef struct AaruRecoveryFooter AaruRecoveryFooter

Detailed Description

On-disk structures for erasure coding recovery data.

These packed structures describe the Erasure Coding Map Block (ECMB), stripe group descriptors, per-block entries within stripes, and the recovery footer written at the very end of the file.

All integer fields are stored little-endian on disk.

Definition in file erasure.h.

Typedef Documentation

◆ AaruRecoveryFooter

typedef struct AaruRecoveryFooter AaruRecoveryFooter

◆ ErasureCodingMapHeader

typedef struct ErasureCodingMapHeader ErasureCodingMapHeader

◆ StripeDataBlockEntry

typedef struct StripeDataBlockEntry StripeDataBlockEntry

◆ StripeGroupDescriptor

typedef struct StripeGroupDescriptor StripeGroupDescriptor

◆ StripeParityBlockEntry

typedef struct StripeParityBlockEntry StripeParityBlockEntry