libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
StripeGroupDescriptor Struct Reference

Describes one protection group within the ECMB payload. More...

#include <aaruformat/structs/erasure.h>

Data Fields

uint8_t groupType
 Protection group type (ErasureCodingGroupType).
uint16_t K
 Number of data blocks per stripe.
uint16_t M
 Number of parity blocks per stripe.
uint32_t shardSize
 Fixed shard size in bytes (max possible on-disk block size for this group).
uint32_t stripeCount
 Number of stripes in this group.
uint16_t interleaveDepth
 Interleave depth D (K for full interleave, 1 for consecutive).

Detailed Description

Describes one protection group within the ECMB payload.

Each group has its own K, M, shard size, and interleave depth. Followed by stripeCount StripeDescriptor records.

Definition at line 68 of file erasure.h.

Field Documentation

◆ groupType

uint8_t StripeGroupDescriptor::groupType

Protection group type (ErasureCodingGroupType).

Definition at line 70 of file erasure.h.

Referenced by ec_finalize(), ec_load_ecmb(), and ec_write_batch_parity().

◆ interleaveDepth

uint16_t StripeGroupDescriptor::interleaveDepth

Interleave depth D (K for full interleave, 1 for consecutive).

Definition at line 75 of file erasure.h.

Referenced by ec_finalize(), and ec_write_batch_parity().

◆ K

uint16_t StripeGroupDescriptor::K

Number of data blocks per stripe.

Definition at line 71 of file erasure.h.

Referenced by ec_finalize(), ec_load_ecmb(), and ec_write_batch_parity().

◆ M

uint16_t StripeGroupDescriptor::M

Number of parity blocks per stripe.

Definition at line 72 of file erasure.h.

Referenced by ec_finalize(), ec_load_ecmb(), and ec_write_batch_parity().

◆ shardSize

uint32_t StripeGroupDescriptor::shardSize

Fixed shard size in bytes (max possible on-disk block size for this group).

Definition at line 73 of file erasure.h.

Referenced by ec_finalize(), ec_load_ecmb(), and ec_write_batch_parity().

◆ stripeCount

uint32_t StripeGroupDescriptor::stripeCount

Number of stripes in this group.

Definition at line 74 of file erasure.h.

Referenced by ec_finalize(), ec_load_ecmb(), and ec_write_batch_parity().


The documentation for this struct was generated from the following file: