Browse Source
branches/zip: Prepare for buffer pool allocation in several chunks.
branches/zip: Prepare for buffer pool allocation in several chunks.
buf_pool_t: Remove n_frames, max_size, and blocks_of_frames. The current buffer pool size is in curr_size. buf_pool_init(): Remove parameter max_size. buf_pool_get_max_size(), buf_pool_is_block(): Remove. buf_block_align(): Do not assume that the buffer pool is allocated in one chunk. Replace dependency on buf_pool->blocks_of_frames with a call to buf_page_hash_get().pull/73/head
10 changed files with 29 additions and 127 deletions
-
27buf/buf0buf.c
-
10buf/buf0lru.c
-
4dict/dict0dict.c
-
2fil/fil0fil.c
-
38include/buf0buf.h
-
67include/buf0buf.ic
-
2log/log0log.c
-
2log/log0recv.c
-
2srv/srv0srv.c
-
2srv/srv0start.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue