summaryrefslogtreecommitdiff
path: root/tpool/tpool.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-10-26 16:04:12 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-10-26 17:53:54 +0200
commit118e258aaac5da75a2ac4556201aaea3688fac67 (patch)
tree9153ac366b4791fd1f9ed515fff770f5974bf8b9 /tpool/tpool.h
parent45ed9dd957eebc7fc84feb2509f4aa6baa908a95 (diff)
downloadmariadb-git-118e258aaac5da75a2ac4556201aaea3688fac67.tar.gz
MDEV-23855: Shrink fil_space_t
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
Diffstat (limited to 'tpool/tpool.h')
0 files changed, 0 insertions, 0 deletions