#include "ut/ut.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "pool/pool.h"
#include "cob/cob.h"
#include "ut/be.h"
#include "be/ut/helper.h"
#include "ha/note.h"
#include "lib/trace.h"
#include "lib/finject.h"
Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_POOL |
◆ anonymous enum
Enumerator |
---|
PM_TEST_DEFAULT_DEVICE_NUMBER | |
PM_TEST_DEFAULT_NODE_NUMBER | |
PM_TEST_DEFAULT_MAX_DEVICE_FAILURE | |
PM_TEST_DEFAULT_SPARE_NUMBER | |
PM_TEST_DEFAULT_MAX_NODE_FAILURE | |
Definition at line 37 of file test_pm.c.
◆ pm_test_init_fini()
static void pm_test_init_fini |
( |
void |
| ) |
|
|
static |
◆ pm_test_multi_fail()
static void pm_test_multi_fail |
( |
void |
| ) |
|
|
static |
◆ pm_test_spare_slot()
static void pm_test_spare_slot |
( |
void |
| ) |
|
|
static |
◆ pm_test_transit()
static void pm_test_transit |
( |
void |
| ) |
|
|
static |
◆ pool_pver_fini()
static void pool_pver_fini |
( |
void |
| ) |
|
|
static |
◆ pool_pver_init()
static int pool_pver_init |
( |
uint32_t |
N, |
|
|
uint32_t |
K, |
|
|
uint32_t |
S |
|
) |
| |
|
static |
◆ M0_POOL_ID
◆ M0_PVER_ID
◆ pool
◆ poolmach_ut
Initial value:= {
.ts_name = "poolmach-ut",
.ts_tests = {
}
}
static void pm_test_spare_slot(void)
static void pm_test_transit(void)
static void pm_test_init_fini(void)
static void pm_test_multi_fail(void)
Definition at line 539 of file test_pm.c.
◆ pver