Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT |
◆ PAYLOAD
Value:{ \
seq ^ 0xdead, \
seq << 6, \
74, \
0x473824622, \
}
Definition at line 264 of file storage.c.
◆ anonymous enum
Enumerator |
---|
DOMAIN_KEY | |
STOB_KEY | |
SIZE | |
Definition at line 44 of file storage.c.
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
Enumerator |
---|
THREADS | |
OUTER | |
INNER | |
Definition at line 444 of file storage.c.
◆ add_one()
static void add_one |
( |
void |
| ) |
|
|
static |
◆ check_one()
◆ context_clean()
static void context_clean |
( |
void |
| ) |
|
|
static |
◆ fini_io()
static void fini_io |
( |
void |
| ) |
|
|
static |
"fini-io" test: test storage finalisation concurrent with IO.
Definition at line 483 of file storage.c.
◆ frame_fill()
static void frame_fill |
( |
void |
| ) |
|
|
static |
◆ io_done()
◆ io_idle()
◆ io_thread()
static void io_thread |
( |
int |
x | ) |
|
|
static |
◆ mach_idle()
◆ once_idle()
◆ read_many()
static void read_many |
( |
void |
| ) |
|
|
static |
"read-one" test: create storage machine, add a number of records; check that storage iterator returns all of them.
Definition at line 323 of file storage.c.
◆ read_one()
static void read_one |
( |
void |
| ) |
|
|
static |
"read-one" test: create storage machine, add one record; check that storage iterator returns the record.
Definition at line 223 of file storage.c.
◆ stob_get()
static void stob_get |
( |
void |
| ) |
|
|
static |
◆ stob_put()
static void stob_put |
( |
void |
| ) |
|
|
static |
◆ stor_fini()
static void stor_fini |
( |
void |
| ) |
|
|
static |
◆ stor_init()
static void stor_init |
( |
void |
| ) |
|
|
static |
◆ submit_one()
static void submit_one |
( |
void |
| ) |
|
|
static |
◆ test_commit()
◆ test_done()
◆ test_idle()
◆ test_submit()
◆ wrap()
static void wrap |
( |
int |
n | ) |
|
|
static |
Force storage stob wrap-around "n" times.
Definition at line 377 of file storage.c.
◆ wrap1()
static void wrap1 |
( |
void |
| ) |
|
|
static |
"wrap-1" test: wrap stob once.
Definition at line 415 of file storage.c.
◆ wrap2()
static void wrap2 |
( |
void |
| ) |
|
|
static |
"wrap-2" test: wrap stob twice.
Definition at line 423 of file storage.c.
◆ wrap3()
static void wrap3 |
( |
void |
| ) |
|
|
static |
"wrap-3" test: wrap stob thrice.
Definition at line 431 of file storage.c.
◆ wrap7()
static void wrap7 |
( |
void |
| ) |
|
|
static |
"wrap-7" test: wrap stob 7 times.
Definition at line 439 of file storage.c.
◆ write_init_fini()
static void write_init_fini |
( |
void |
| ) |
|
|
static |
"write-init-fini" test: create storage machine, stop it and finalise.
Definition at line 104 of file storage.c.
◆ write_many()
static void write_many |
( |
void |
| ) |
|
|
static |
◆ addb2_storage_ut
Initial value:= {
.ts_name = "addb2-storage",
.ts_tests = {
}
}
static void read_many(void)
static void fini_io(void)
static void submit_one(void)
static void read_one(void)
static void write_init_fini(void)
static void write_many(void)
Definition at line 526 of file storage.c.
◆ checked
◆ committed
◆ dom
◆ done
◆ idled
◆ idlewait
◆ issued
◆ last
◆ location
const char* location = "linuxstob:./__s" |
◆ mach
◆ machwait
◆ pump_done
◆ pump_exit
◆ pump_start
◆ sit
◆ stob
◆ stob_size
◆ stor
◆ test_ops
Initial value:= {
}
static void test_idle(struct m0_addb2_storage *stor)
static void test_commit(struct m0_addb2_storage *_stor, const struct m0_addb2_frame_header *_last)
static void test_done(struct m0_addb2_storage *_stor, struct m0_addb2_trace_obj *obj)
Definition at line 145 of file storage.c.
◆ traces_submitted
unsigned traces_submitted |
|
static |