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

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().

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().

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().

first free position in write_buf measured in units of UNIV_PAGE_SIZE

Definition at line 545 of file trx0sys.h.

mutex protecting the first_free field and write_buf

Definition at line 540 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 547 of file trx0sys.h.

Referenced by trx_sys_doublewrite_init_or_restore_pages().

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: