Drizzled Public API Documentation

fil_node_struct Struct Reference

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_tspace
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 136 of file fil0fil.cc.

Member Function Documentation

fil_node_struct::UT_LIST_NODE_T ( fil_node_t  )

link field for the file chain

fil_node_struct::UT_LIST_NODE_T ( fil_node_t  )

link field for the LRU list

fil_node_struct::UT_LIST_NODE_T ( fil_node_t  )

link field for the file chain

fil_node_struct::UT_LIST_NODE_T ( fil_node_t  )

link field for the LRU list

Member Data Documentation

ib_int64_t fil_node_struct::flush_counter

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

Definition at line 157 of file fil0fil.cc.

Referenced by fil_flush(), fil_node_create(), and fil_rename_tablespace().

os_file_t fil_node_struct::handle

OS handle to the file, if file open

Definition at line 141 of file fil0fil.cc.

Referenced by fil_extend_space_to_desired_size(), fil_flush(), and fil_io().

ibool fil_node_struct::is_raw_disk

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

Definition at line 142 of file fil0fil.cc.

Referenced by fil_flush(), and fil_node_create().

ulint fil_node_struct::magic_n

FIL_NODE_MAGIC_N

Definition at line 164 of file fil0fil.cc.

Referenced by fil_node_create().

ib_int64_t fil_node_struct::modification_counter

when we write to the file we increment this by one

Definition at line 155 of file fil0fil.cc.

Referenced by fil_flush(), fil_node_create(), and fil_rename_tablespace().

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 148 of file fil0fil.cc.

Referenced by fil_delete_tablespace(), fil_node_create(), fil_rename_tablespace(), and fil_validate().

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 152 of file fil0fil.cc.

Referenced by fil_flush(), fil_node_create(), and fil_rename_tablespace().

char * fil_node_struct::name
ibool fil_node_struct::open
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 144 of file fil0fil.cc.

Referenced by fil_extend_space_to_desired_size(), fil_io(), fil_is_exist(), fil_node_create(), fil_space_get_size(), and fil_write_flushed_lsn_to_data_files().


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