Drizzled Public API Documentation

trx_doublewrite_struct Struct Reference

#include <trx0sys.h>

List of all members.

Public Attributes

mutex_t mutex
ulint block1
ulint block2
ulint first_free
byte * write_buf
byte * write_buf_unaligned
buf_page_t ** buf_block_arr

Detailed Description

Doublewrite control struct

Definition at line 539 of file trx0sys.h.


Member Data Documentation

ulint trx_doublewrite_struct::block1

the page number of the first doublewrite block (64 pages)

Definition at line 542 of file trx0sys.h.

Referenced by buf_read_page_low(), trx_doublewrite_page_inside(), and trx_sys_doublewrite_init_or_restore_pages().

ulint trx_doublewrite_struct::block2

page number of the second block

Definition at line 544 of file trx0sys.h.

Referenced by buf_read_page_low(), trx_doublewrite_page_inside(), and trx_sys_doublewrite_init_or_restore_pages().

buf_page_t** trx_doublewrite_struct::buf_block_arr

array to store pointers to the buffer blocks which have been cached to write_buf

Definition at line 554 of file trx0sys.h.

Referenced by trx_sys_close().

ulint trx_doublewrite_struct::first_free

first free position in write_buf measured in units of UNIV_PAGE_SIZE

Definition at line 545 of file trx0sys.h.

mutex_t trx_doublewrite_struct::mutex

mutex protecting the first_free field and write_buf

Definition at line 540 of file trx0sys.h.

Referenced by trx_sys_close().

byte* trx_doublewrite_struct::write_buf

write buffer used in writing to the doublewrite buffer, aligned to an address divisible by UNIV_PAGE_SIZE (which is required by Windows aio)

Definition at line 547 of file trx0sys.h.

Referenced by trx_sys_doublewrite_init_or_restore_pages().

byte* trx_doublewrite_struct::write_buf_unaligned

pointer to write_buf, but unaligned

Definition at line 552 of file trx0sys.h.

Referenced by trx_sys_close().


The documentation for this struct was generated from the following file: