Motr  M0
m0_pdclust_attr Struct Reference

#include <pdclust.h>

Collaboration diagram for m0_pdclust_attr:
Collaboration graph

Data Fields

uint32_t pa_N
 
uint32_t pa_K
 
uint32_t pa_S
 
uint32_t pa_P
 
uint64_t pa_unit_size
 
struct m0_uint128 pa_seed
 

Detailed Description

Attributes specific to PDCLUST layout type. These attributes are part of m0_pdclust_layout which is in-memory layout object and are stored in the Layout DB as well, through m0_layout_pdclust_rec.

Definition at line 102 of file pdclust.h.

Field Documentation

◆ pa_K

uint32_t pa_K

Number of parity units in a parity group.

Definition at line 107 of file pdclust.h.

◆ pa_N

uint32_t pa_N

Number of data units in a parity group.

Definition at line 104 of file pdclust.h.

◆ pa_P

uint32_t pa_P

Number of target objects over which this layout stripes the source.

Definition at line 115 of file pdclust.h.

◆ pa_S

uint32_t pa_S

Number of spare units in a partiy group.

Definition at line 110 of file pdclust.h.

◆ pa_seed

struct m0_uint128 pa_seed

A datum used to seed PRNG to generate tile column permutations.

Definition at line 121 of file pdclust.h.

◆ pa_unit_size

uint64_t pa_unit_size

Stripe unit size. Specified in number of bytes.

Definition at line 118 of file pdclust.h.


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