|
static void | validate_buffer (const log_t &log, const byte *buffer, size_t buffer_size) |
|
static void | validate_start_lsn (const log_t &log, lsn_t start_lsn, size_t buffer_size) |
|
static bool | current_file_has_space (const log_t &log, os_offset_t offset, size_t size) |
|
static dberr_t | start_next_file (log_t &log, lsn_t start_lsn) |
|
static bool | write_ahead_enough (os_offset_t write_ahead_end, os_offset_t offset, size_t size) |
|
static bool | current_write_ahead_enough (const log_t &log, os_offset_t offset, size_t size) |
|
static os_offset_t | compute_next_write_ahead_end (os_offset_t real_offset) |
|
static size_t | compute_how_much_to_write (const log_t &log, os_offset_t real_offset, size_t buffer_size, bool &write_from_log_buffer) |
|
static void | prepare_full_blocks (const log_t &log, byte *buffer, size_t size, lsn_t start_lsn) |
|
static dberr_t | write_blocks (log_t &log, byte *write_buf, size_t write_size, os_offset_t real_offset) |
|
static void | notify_about_advanced_write_lsn (log_t &log, lsn_t old_write_lsn, lsn_t new_write_lsn) |
|
static void | copy_to_write_ahead_buffer (log_t &log, const byte *buffer, size_t &size, lsn_t start_lsn) |
|
static size_t | prepare_for_write_ahead (log_t &log, os_offset_t real_offset, size_t &write_size) |
|
static void | update_current_write_ahead (log_t &log, os_offset_t real_offset, size_t write_size) |
|