Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
◆ anonymous enum
Enumerator |
---|
MAX_READ_OID_NUM | |
Definition at line 43 of file read.c.
◆ anonymous enum
◆ create_objs()
static int create_objs |
( |
int |
nr_objs | ) |
|
|
static |
◆ read_block_has_val()
void read_block_has_val |
( |
struct m0_bufvec * |
data, |
|
|
int |
block_idx, |
|
|
char |
val |
|
) |
| |
Examine if data is read correctly from an object which is written in a known pattern (for example, all zero).
Definition at line 210 of file read.c.
◆ read_multiple_blocks()
static void read_multiple_blocks |
( |
void |
| ) |
|
|
static |
Read multiple blocks from an object, test the expected value is returned.
Definition at line 296 of file read.c.
◆ read_multiple_blocks_into_aligned_buffers()
static void read_multiple_blocks_into_aligned_buffers |
( |
void |
| ) |
|
|
static |
Read multiple blocks from an object into aligned buffers, test the expected value is returned.
Definition at line 382 of file read.c.
◆ read_objs_in_parallel()
static void read_objs_in_parallel |
( |
void |
| ) |
|
|
static |
◆ read_oid_get()
◆ read_one_block()
static void read_one_block |
( |
void |
| ) |
|
|
static |
Read a single block from an object, test the expected value is returned.
Definition at line 221 of file read.c.
◆ st_read_suite_fini()
static int st_read_suite_fini |
( |
void |
| ) |
|
|
static |
Finalises the read suite's environment.
Definition at line 625 of file read.c.
◆ st_read_suite_init()
static int st_read_suite_init |
( |
void |
| ) |
|
|
static |
Initialises the read suite's environment.
Definition at line 582 of file read.c.
◆ write_objs()
static int write_objs |
( |
void |
| ) |
|
|
static |
◆ layout_id
◆ m0_addb_ctx
struct m0_addb_ctx m0_addb_ctx |
◆ pattern
char pattern[CHAR_NUM] = {'C', 'L', 'O', 'V', 'I', 'S'} |
|
static |
◆ read_oid_num
◆ read_oids
◆ st_read_container
◆ st_suite_m0_read
Initial value:= {
.ss_name = "m0_read_st",
.ss_tests = {
{ "read_one_block",
{ "read_multiple_blocks",
{ "read_multiple_blocks_into_aligned_buffers",
{ "read_objs_in_parallel",
}
}
static int st_read_suite_fini(void)
static void read_multiple_blocks(void)
static void read_objs_in_parallel(void)
static void read_multiple_blocks_into_aligned_buffers(void)
static void read_one_block(void)
static int st_read_suite_init(void)
Definition at line 630 of file read.c.
◆ unit_size