drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
fil_node_struct Struct Reference
Collaboration diagram for fil_node_struct:
[legend]

Public Member Functions

 UT_LIST_NODE_T (fil_node_t) chain
 UT_LIST_NODE_T (fil_node_t) LRU
 UT_LIST_NODE_T (fil_node_t) chain
 UT_LIST_NODE_T (fil_node_t) LRU

Public Attributes

fil_space_t * space
char * name
ibool open
os_file_t handle
ibool is_raw_disk
ulint size
ulint n_pending
ulint n_pending_flushes
ib_int64_t modification_counter
ib_int64_t flush_counter
ulint magic_n

Detailed Description

File node of a tablespace or the log data space

Definition at line 135 of file fil0fil.cc.

Member Function Documentation

◆ UT_LIST_NODE_T() [1/4]

fil_node_struct::UT_LIST_NODE_T ( fil_node_t )

link field for the file chain

◆ UT_LIST_NODE_T() [2/4]

fil_node_struct::UT_LIST_NODE_T ( fil_node_t )

link field for the file chain

◆ UT_LIST_NODE_T() [3/4]

fil_node_struct::UT_LIST_NODE_T ( fil_node_t )

link field for the LRU list

◆ UT_LIST_NODE_T() [4/4]

fil_node_struct::UT_LIST_NODE_T ( fil_node_t )

link field for the LRU list

Member Data Documentation

◆ flush_counter

ib_int64_t fil_node_struct::flush_counter

up to what modification_counter value we have flushed the modifications to disk

Definition at line 156 of file fil0fil.cc.

◆ handle

os_file_t fil_node_struct::handle

OS handle to the file, if file open

Definition at line 140 of file fil0fil.cc.

◆ is_raw_disk

ibool fil_node_struct::is_raw_disk

TRUE if the 'file' is actually a raw device or a raw disk partition

Definition at line 141 of file fil0fil.cc.

◆ magic_n

ulint fil_node_struct::magic_n

FIL_NODE_MAGIC_N

Definition at line 163 of file fil0fil.cc.

◆ modification_counter

ib_int64_t fil_node_struct::modification_counter

when we write to the file we increment this by one

Definition at line 154 of file fil0fil.cc.

◆ n_pending

ulint fil_node_struct::n_pending

count of pending i/o's on this file; closing of the file is not allowed if this is > 0

Definition at line 146 of file fil0fil.cc.

◆ n_pending_flushes

ulint fil_node_struct::n_pending_flushes

count of pending flushes on this file; closing of the file is not allowed if this is > 0

Definition at line 150 of file fil0fil.cc.

◆ name

char * fil_node_struct::name

path to the file

Definition at line 138 of file fil0fil.cc.

◆ open

ibool fil_node_struct::open

TRUE if file open

Definition at line 139 of file fil0fil.cc.

◆ size

ulint fil_node_struct::size

size of the file in database pages, 0 if not known yet; the possible last incomplete megabyte may be ignored if space == 0

Definition at line 143 of file fil0fil.cc.

◆ space

fil_space_t * fil_node_struct::space

backpointer to the space where this node belongs

Definition at line 136 of file fil0fil.cc.


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