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 |
File node of a tablespace or the log data space
Definition at line 136 of file fil0fil.cc.
link field for the file chain
link field for the LRU list
link field for the file chain
link field for the LRU list
| 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 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().
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 |
| 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().
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().
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 |
path to the file
Definition at line 139 of file fil0fil.cc.
Referenced by fil_extend_space_to_desired_size(), fil_io(), fil_node_create(), fil_op_log_parse_or_replay(), and fil_rename_tablespace().
| ibool fil_node_struct::open |
TRUE if file open
Definition at line 140 of file fil0fil.cc.
Referenced by fil_close_all_files(), fil_flush(), fil_node_create(), fil_open_log_and_system_tablespace_files(), fil_rename_tablespace(), and fil_validate().
| 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().
backpointer to the space where this node belongs
Definition at line 137 of file fil0fil.cc.
Referenced by fil_aio_wait(), fil_close_all_files(), fil_decr_pending_ibuf_merges(), fil_delete_tablespace(), fil_extend_space_to_desired_size(), fil_flush(), fil_flush_file_spaces(), fil_inc_pending_ibuf_merges(), fil_io(), fil_is_exist(), fil_node_create(), fil_open_log_and_system_tablespace_files(), fil_rename_tablespace(), fil_space_create(), fil_space_for_table_exists_in_mem(), fil_space_get_flags(), fil_space_get_latch(), fil_space_get_n_reserved_extents(), fil_space_get_size(), fil_space_get_type(), fil_space_get_version(), fil_space_release_free_extents(), fil_space_reserve_free_extents(), fil_tablespace_deleted_or_being_deleted_in_mem(), fil_tablespace_exists_in_mem(), fil_tablespace_is_being_deleted(), fil_validate(), and fil_write_flushed_lsn_to_data_files().