• Marko Mäkelä's avatar
    MDEV-23855: Shrink fil_space_t · 118e258a
    Marko Mäkelä authored
    Merge n_pending_ios, n_pending_ops to std::atomic<uint32_t> n_pending.
    Change some more fil_space_t members to uint32_t to reduce
    the memory footprint.
    
    fil_space_t::add(), fil_ibd_create(): Attach the already opened
    handle to the tablespace, and enforce the fil_system.n_open limit.
    
    dict_boot(): Initialize fil_system.max_assigned_id.
    
    srv_boot(): Call srv_thread_pool_init() before anything else,
    so that files should be opened in the correct mode on Windows.
    
    fil_ibd_create(): Create the file in OS_FILE_AIO mode, just like
    fil_node_open_file_low() does it.
    
    dict_table_t::is_accessible(): Replaces fil_table_accessible().
    
    Reviewed by: Vladislav Vaintroub
    118e258a
xtrabackup.cc 176 KB