#include "fd/fd.h"
#include "fd/fd_internal.h"
#include "fd/ut/common.h"
#include "pool/pool.h"
#include "conf/confc.h"
#include "conf/diter.h"
#include "conf/obj_ops.h"
#include "lib/memory.h"
#include "lib/fs.h"
#include "lib/errno.h"
#include "conf/ut/common.h"
#include "ut/ut.h"
Go to the source code of this file.
◆ __filter_pv()
static bool __filter_pv |
( |
const struct m0_conf_obj * |
obj | ) |
|
|
static |
Definition at line 426 of file fd.c.
◆ failed_nodes_mark()
static void failed_nodes_mark |
( |
struct m0_fd_tree * |
tree, |
|
|
uint32_t |
level, |
|
|
uint64_t |
tol, |
|
|
uint64_t * |
failed_domains |
|
) |
| |
|
static |
Definition at line 482 of file fd.c.
◆ fd_mapping_check()
Definition at line 192 of file fd.c.
◆ fd_tolerance_check()
Definition at line 437 of file fd.c.
◆ is_tgt_failed()
Definition at line 513 of file fd.c.
◆ parity_group_size()
Definition at line 311 of file fd.c.
◆ pool_width_calc()
static uint64_t pool_width_calc |
( |
struct m0_fd_tree * |
tree | ) |
|
|
static |
Definition at line 178 of file fd.c.
◆ pool_width_count()
static uint32_t pool_width_count |
( |
uint64_t * |
children, |
|
|
uint32_t |
depth |
|
) |
| |
|
static |
Definition at line 319 of file fd.c.
◆ pv2tree_level_conv()
static uint64_t pv2tree_level_conv |
( |
uint64_t |
level, |
|
|
uint64_t |
tree_depth |
|
) |
| |
|
static |
Definition at line 431 of file fd.c.
◆ real_child_cnt_get()
static uint64_t real_child_cnt_get |
( |
uint64_t |
level | ) |
|
|
static |
Definition at line 240 of file fd.c.
◆ test_fd_mapping()
void test_fd_mapping |
( |
void |
| ) |
|
Definition at line 535 of file fd.c.
◆ test_fd_mapping_sanity()
static void test_fd_mapping_sanity |
( |
enum tree_attr |
ta | ) |
|
|
static |
Definition at line 127 of file fd.c.
◆ test_ft_mapping()
static void test_ft_mapping |
( |
void |
| ) |
|
|
static |
Definition at line 259 of file fd.c.
◆ test_pv2fd_conv()
static void test_pv2fd_conv |
( |
void |
| ) |
|
|
static |
Definition at line 331 of file fd.c.
◆ tree_generate()
Definition at line 138 of file fd.c.
◆ failure_domains_ut
Initial value:= {
.ts_name = "failure_domains-ut",
.ts_tests = {
}
}
void test_fd_mapping(void)
static void test_ft_mapping(void)
M0_INTERNAL int m0_conf_ut_ast_thread_fini(void)
static void test_pv2fd_conv(void)
M0_INTERNAL int m0_conf_ut_ast_thread_init(void)
Definition at line 541 of file fd.c.
◆ pd_attr
Initial value:= {
.pa_unit_size = 4096,
.pa_seed = {
.u_hi = 0,
.u_lo = 0,
}
}
Definition at line 95 of file fd.c.
◆ pi
Definition at line 107 of file fd.c.
◆ pool_ver
Definition at line 111 of file fd.c.
◆ src
Definition at line 108 of file fd.c.
◆ src_new
Definition at line 109 of file fd.c.
◆ tgt
Definition at line 110 of file fd.c.