MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fil_node_t Struct Reference
Collaboration diagram for fil_node_t:

Public Member Functions

 UT_LIST_NODE_T (fil_node_t) chain
 UT_LIST_NODE_T (fil_node_t) LRU

Public Attributes

fil_space_tspace
char * name
ibool open
os_file_t handle
os_event_t sync_event
ibool is_raw_disk
ulint size
ulint n_pending
ulint n_pending_flushes
ibool being_extended
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 144 of file fil0fil.cc.

Member Function Documentation

fil_node_t::UT_LIST_NODE_T ( fil_node_t  )

link field for the file chain

fil_node_t::UT_LIST_NODE_T ( fil_node_t  )

link field for the LRU list

Member Data Documentation

ibool fil_node_t::being_extended

TRUE if the node is currently being extended.

Definition at line 166 of file fil0fil.cc.

ib_int64_t fil_node_t::flush_counter

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

Definition at line 170 of file fil0fil.cc.

os_file_t fil_node_t::handle

OS handle to the file, if file open

Definition at line 149 of file fil0fil.cc.

ibool fil_node_t::is_raw_disk

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

Definition at line 152 of file fil0fil.cc.

ulint fil_node_t::magic_n

FIL_NODE_MAGIC_N

Definition at line 177 of file fil0fil.cc.

ib_int64_t fil_node_t::modification_counter

when we write to the file we increment this by one

Definition at line 168 of file fil0fil.cc.

ulint fil_node_t::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 158 of file fil0fil.cc.

ulint fil_node_t::n_pending_flushes

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

Definition at line 162 of file fil0fil.cc.

char* fil_node_t::name

path to the file

Definition at line 147 of file fil0fil.cc.

ibool fil_node_t::open

TRUE if file open

Definition at line 148 of file fil0fil.cc.

ulint fil_node_t::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 154 of file fil0fil.cc.

fil_space_t* fil_node_t::space

backpointer to the space where this node belongs

Definition at line 145 of file fil0fil.cc.

os_event_t fil_node_t::sync_event

Condition event to group and serialize calls to fsync

Definition at line 150 of file fil0fil.cc.


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