Motr
M0
|
#include <dtm0_log.h>
Data Fields | |
bool | dl_is_persistent |
struct m0_mutex | dl_lock |
struct m0_be_seg * | dl_seg |
struct m0_dtm0_clk_src * | dl_cs |
union { | |
struct m0_be_list * dl_persist | |
struct m0_tl * dl_inmem | |
} | u |
m0_be_dtm0_log_rec structure
A DTM0 log is represented by m0_be_dtm0_log structure. The important fields in this structure are:
Definition at line 192 of file dtm0_log.h.
struct m0_dtm0_clk_src* dl_cs |
DTM0 clock source
Definition at line 201 of file dtm0_log.h.
struct m0_tl* dl_inmem |
Volatile list, used if !dl_is_persistent
Definition at line 206 of file dtm0_log.h.
bool dl_is_persistent |
Indicates if the structure is a persistent or volatile
Definition at line 194 of file dtm0_log.h.
struct m0_mutex dl_lock |
dl_lock protects access to the dl_list/dl_tlist. This lock should be held before performing any operations on the log involving a log record search or insert.
Definition at line 198 of file dtm0_log.h.
struct m0_be_list* dl_persist |
Persistent list, used if dl_is_persistent
Definition at line 204 of file dtm0_log.h.
struct m0_be_seg* dl_seg |
Definition at line 199 of file dtm0_log.h.
union { ... } u |