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 542 of file trx0sys.h.


Member Data Documentation

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

Definition at line 545 of file trx0sys.h.

Referenced by trx_doublewrite_page_inside(), and trx_sys_doublewrite_init_or_restore_pages().

page number of the second block

Definition at line 547 of file trx0sys.h.

Referenced by trx_doublewrite_page_inside(), and trx_sys_doublewrite_init_or_restore_pages().

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

Definition at line 557 of file trx0sys.h.

Referenced by trx_sys_close().

first free position in write_buf measured in units of UNIV_PAGE_SIZE

Definition at line 548 of file trx0sys.h.

mutex protecting the first_free field and write_buf

Definition at line 543 of file trx0sys.h.

Referenced by trx_sys_close().

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 550 of file trx0sys.h.

Referenced by trx_sys_doublewrite_init_or_restore_pages().

pointer to write_buf, but unaligned

Definition at line 555 of file trx0sys.h.

Referenced by trx_sys_close().


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