Motr  M0
m0_pdclust_layout Struct Reference

#include <pdclust.h>

Collaboration diagram for m0_pdclust_layout:
Collaboration graph

Data Fields

struct m0_striped_layout pl_base
 
struct m0_pdclust_attr pl_attr
 
uint32_t pl_C
 
uint32_t pl_L
 
uint64_t pl_magic
 

Detailed Description

Extension of the generic m0_striped_layout for the parity de-clustered layout type.

Invariant
pdl->pl_C * (pdl->pl_attr.pa_N + 2 * pdl->pl_attr.pa_K) == pdl->pl_L * pdl->pl_attr.pa_P
pdl->pl_base.sl_enum->le_ops->leo_nr(pdl->pl_base.sl_enum) == pdl->pl_attr.pa_P

Definition at line 146 of file pdclust.h.

Field Documentation

◆ pl_attr

struct m0_pdclust_attr pl_attr

Parity de-clustering layout attributes.

Definition at line 150 of file pdclust.h.

◆ pl_base

struct m0_striped_layout pl_base

Super class

Definition at line 148 of file pdclust.h.

◆ pl_C

uint32_t pl_C

Number of parity groups in a tile.

See also
m0_pdclust_layout::pl_L

Definition at line 155 of file pdclust.h.

◆ pl_L

uint32_t pl_L

Number of "frame rows" in a tile. L * P == C * (N + K + S).

See also
m0_pdclust_layout::pl_C

Definition at line 160 of file pdclust.h.

◆ pl_magic

uint64_t pl_magic

Definition at line 162 of file pdclust.h.


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