drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
trx_doublewrite_struct Struct Reference

#include <trx0sys.h>

Collaboration diagram for trx_doublewrite_struct:
[legend]

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

Member Data Documentation

◆ block1

ulint trx_doublewrite_struct::block1

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

Definition at line 536 of file trx0sys.h.

◆ block2

ulint trx_doublewrite_struct::block2

page number of the second block

Definition at line 538 of file trx0sys.h.

◆ buf_block_arr

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

◆ first_free

ulint trx_doublewrite_struct::first_free

first free position in write_buf measured in units of UNIV_PAGE_SIZE

Definition at line 539 of file trx0sys.h.

◆ mutex

mutex_t trx_doublewrite_struct::mutex

mutex protecting the first_free field and write_buf

Definition at line 534 of file trx0sys.h.

◆ write_buf

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

◆ write_buf_unaligned

byte* trx_doublewrite_struct::write_buf_unaligned

pointer to write_buf, but unaligned

Definition at line 545 of file trx0sys.h.


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