Go to the source code of this file.
|
M0_INTERNAL void | cob_create (struct m0_reqh *reqh, struct m0_cob_domain *cdom, struct m0_be_domain *bedom, uint64_t cont, struct m0_fid *gfid, uint32_t cob_idx) |
|
M0_INTERNAL void | cob_delete (struct m0_cob_domain *cdom, struct m0_be_domain *bedom, uint64_t cont, const struct m0_fid *gfid) |
|
static uint64_t | cp_single_get (const struct m0_cm_aggr_group *ag) |
|
static uint64_t | single_fail_multi_cp_get (const struct m0_cm_aggr_group *ag) |
|
static uint64_t | multi_fail_multi_cp_get (const struct m0_cm_aggr_group *ag) |
|
static size_t | dummy_fom_locality (const struct m0_fom *fom) |
|
static int | dummy_fom_tick (struct m0_fom *fom) |
|
static int | dummy_acc_cp_fom_tick (struct m0_fom *fom) |
|
static void | single_cp_fom_fini (struct m0_fom *fom) |
|
static void | multiple_cp_fom_fini (struct m0_fom *fom) |
|
static void | cp_buf_free (struct m0_sns_cm_ag *sag) |
|
static void | tgt_fid_cob_create (struct m0_reqh *reqh) |
|
static void | ag_init (struct m0_sns_cm_repair_ag *rag) |
|
static void | ag_fini (struct m0_sns_cm_repair_ag *rag) |
|
static void | ag_prepare (struct m0_sns_cm_repair_ag *rag, int failure_nr, const struct m0_cm_aggr_group_ops *ag_ops, struct m0_sns_cm_repair_ag_failure_ctx *fc) |
|
static void | test_bufvec_xor () |
|
static void | test_single_cp (void) |
|
static void | test_multi_cp_single_failure (void) |
|
static void | rs_init () |
|
static void | buffers_attach (struct m0_net_buffer *nb, struct m0_cm_cp *cp, char data) |
|
static void | cp_multi_failures_post (char data, int cnt, int index) |
|
static void | buf_initialize (struct m0_buf *bufs, uint32_t count, uint32_t len) |
|
static void | buf_free (struct m0_buf *bufs, uint32_t count) |
|
static void | ref_parity_calculate (struct m0_parity_math *math, struct m0_bufvec *bufvecs) |
|
static void | test_multi_cp_multi_failures (void) |
|
static int | xform_init (void) |
|
static int | xform_fini (void) |
|
◆ anonymous enum
Enumerator |
---|
SEG_NR | |
SEG_SIZE | |
BUF_NR | |
DATA_NR | |
PARITY_NR | |
CP_SINGLE | |
SINGLE_FAILURE | |
MULTI_FAILURES | |
SINGLE_FAIL_MULTI_CP_NR | |
MULTI_FAIL_MULTI_CP_NR | |
Definition at line 34 of file xform.c.
◆ ag_fini()
◆ ag_init()
◆ ag_prepare()
◆ buf_free()
static void buf_free |
( |
struct m0_buf * |
bufs, |
|
|
uint32_t |
count |
|
) |
| |
|
static |
◆ buf_initialize()
static void buf_initialize |
( |
struct m0_buf * |
bufs, |
|
|
uint32_t |
count, |
|
|
uint32_t |
len |
|
) |
| |
|
static |
◆ buffers_attach()
◆ cob_create()
Definition at line 176 of file cm.c.
◆ cob_delete()
Definition at line 231 of file cm.c.
◆ cp_buf_free()
◆ cp_multi_failures_post()
static void cp_multi_failures_post |
( |
char |
data, |
|
|
int |
cnt, |
|
|
int |
index |
|
) |
| |
|
static |
◆ cp_single_get()
◆ dummy_acc_cp_fom_tick()
static int dummy_acc_cp_fom_tick |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ dummy_fom_locality()
static size_t dummy_fom_locality |
( |
const struct m0_fom * |
fom | ) |
|
|
static |
◆ dummy_fom_tick()
static int dummy_fom_tick |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ multi_fail_multi_cp_get()
◆ multiple_cp_fom_fini()
static void multiple_cp_fom_fini |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ ref_parity_calculate()
◆ rs_init()
◆ single_cp_fom_fini()
static void single_cp_fom_fini |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ single_fail_multi_cp_get()
◆ test_bufvec_xor()
static void test_bufvec_xor |
( |
| ) |
|
|
static |
◆ test_multi_cp_multi_failures()
static void test_multi_cp_multi_failures |
( |
void |
| ) |
|
|
static |
◆ test_multi_cp_single_failure()
static void test_multi_cp_single_failure |
( |
void |
| ) |
|
|
static |
◆ test_single_cp()
static void test_single_cp |
( |
void |
| ) |
|
|
static |
◆ tgt_fid_cob_create()
static void tgt_fid_cob_create |
( |
struct m0_reqh * |
reqh | ) |
|
|
static |
◆ xform_fini()
static int xform_fini |
( |
void |
| ) |
|
|
static |
◆ xform_init()
static int xform_init |
( |
void |
| ) |
|
|
static |
◆ acc_cp_fom_ops
Initial value:
Definition at line 194 of file xform.c.
◆ cdom
◆ cm
◆ cob_fid
◆ dst
◆ gob_fid
◆ group_multi_fail_multi_cp_ops
Initial value:
Definition at line 122 of file xform.c.
◆ group_single_fail_multi_cp_ops
Initial value:
Definition at line 113 of file xform.c.
◆ group_single_ops
Initial value:
Definition at line 104 of file xform.c.
◆ m_acc_buf
◆ m_buf
◆ m_cp
◆ m_fc
◆ m_rag
◆ multiple_cp_fom_ops
Initial value:
Definition at line 201 of file xform.c.
◆ n_acc_buf
◆ n_buf
◆ n_cp
◆ n_fc
◆ n_rag
◆ nbp
◆ pdlay
◆ reqh
◆ s_acc_buf
◆ s_buf
◆ s_cp
◆ s_fc
◆ s_rag
◆ scm
◆ scm_service
◆ sem
◆ single_cp_fom_ops
Initial value:
Definition at line 188 of file xform.c.
◆ snscm_xform_ut
Initial value:= {
.ts_name = "snscm_xform-ut",
.ts_tests = {
{ "multi_cp_single_failure",
{ "multi_cp_multi_failures",
}
}
Definition at line 743 of file xform.c.
◆ src
◆ xform_ut_repair_helpers
Initial value:
Definition at line 216 of file xform.c.
◆ xor