CUBRID Engine
latest
|
Public Member Functions | |
double_write_buffer () | |
Public Attributes | |
bool | logging_enabled |
DWB_BLOCK * | blocks |
unsigned int | num_blocks |
unsigned int | num_pages |
unsigned int | num_block_pages |
unsigned int | log2_num_block_pages |
volatile unsigned int | blocks_flush_counter |
volatile unsigned int | next_block_to_flush |
pthread_mutex_t | mutex |
DWB_WAIT_QUEUE | wait_queue |
UINT64 volatile | position_with_flags |
dwb_hashmap_type | slots_hashmap |
int | vdes |
DWB_BLOCK *volatile | file_sync_helper_block |
Definition at line 259 of file double_write_buffer.c.
|
inline |
Definition at line 282 of file double_write_buffer.c.
References NULL, and NULL_VOLDES.
DWB_BLOCK* double_write_buffer::blocks |
Definition at line 262 of file double_write_buffer.c.
Referenced by dwb_acquire_next_slot(), dwb_add_page(), dwb_create_internal(), dwb_destroy_internal(), dwb_flush_force(), dwb_flush_next_block(), dwb_get_next_block_for_flush(), dwb_slots_hash_insert(), dwb_starts_structure_modification(), and dwb_wait_for_block_completion().
volatile unsigned int double_write_buffer::blocks_flush_counter |
Definition at line 267 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_flush_block(), dwb_flush_force(), and dwb_starts_structure_modification().
DWB_BLOCK* volatile double_write_buffer::file_sync_helper_block |
Definition at line 279 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_file_sync_helper(), dwb_flush_block(), dwb_flush_force(), dwb_starts_structure_modification(), and dwb_write_block().
unsigned int double_write_buffer::log2_num_block_pages |
Definition at line 266 of file double_write_buffer.c.
Referenced by dwb_create_internal().
bool double_write_buffer::logging_enabled |
Definition at line 261 of file double_write_buffer.c.
pthread_mutex_t double_write_buffer::mutex |
Definition at line 270 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_destroy_internal(), dwb_signal_structure_modificated(), and dwb_wait_for_strucure_modification().
volatile unsigned int double_write_buffer::next_block_to_flush |
Definition at line 268 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_flush_block(), dwb_flush_force(), and dwb_get_next_block_for_flush().
unsigned int double_write_buffer::num_block_pages |
Definition at line 265 of file double_write_buffer.c.
Referenced by dwb_create_internal().
unsigned int double_write_buffer::num_blocks |
Definition at line 263 of file double_write_buffer.c.
Referenced by dwb_create_internal().
unsigned int double_write_buffer::num_pages |
Definition at line 264 of file double_write_buffer.c.
Referenced by dwb_create_internal().
UINT64 volatile double_write_buffer::position_with_flags |
Definition at line 273 of file double_write_buffer.c.
Referenced by dwb_acquire_next_slot(), dwb_create_internal(), dwb_destroy_internal(), dwb_ends_structure_modification(), dwb_file_sync_helper(), dwb_flush_block(), dwb_flush_force(), dwb_flush_next_block(), dwb_is_created(), dwb_starts_structure_modification(), dwb_wait_for_block_completion(), and dwb_wait_for_strucure_modification().
dwb_hashmap_type double_write_buffer::slots_hashmap |
Definition at line 276 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_destroy_internal(), dwb_read_page(), dwb_slots_hash_delete(), and dwb_slots_hash_insert().
int double_write_buffer::vdes |
Definition at line 277 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_destroy_internal(), dwb_flush_block(), and dwb_load_and_recover_pages().
DWB_WAIT_QUEUE double_write_buffer::wait_queue |
Definition at line 271 of file double_write_buffer.c.
Referenced by dwb_create_internal(), dwb_destroy_internal(), dwb_signal_structure_modificated(), and dwb_wait_for_strucure_modification().