|
libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
|
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). | |
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.
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().