Innodb 文件管理
Fil_system 全局只有一个
class Fil_system {
private:
/** Fil_shards managed */
Fil_shards m_shards;
/** n_open is not allowed to exceed this */
const size_t m_max_n_open;
/** Maximum space id in the existing tables, or assigned during
the time mysqld has been up; at an InnoDB startup we scan the
data dictionary and set here the maximum of the space id’s of
the tables there */
space_id_t m_max_assigned_id;
/** true if fil_space_create() has issued a warning about
potential space_id reuse */
bool m_space_id_reuse_warned;
/** List of tablespaces that have been relocated. We need to
update the DD when it is safe to do so. */
dd_fil::Tablespaces m_moved;
/** Tablespace directories scanned at startup */
Tablespace_dirs m_dirs;
}