mariadb/extra
Marko Mäkelä 50324ce624 MDEV-21351 Replace recv_sys.heap with list of buf_block_t
InnoDB crash recovery used a special type of mem_heap_t that
allocates backing store from the buffer pool. That incurred
a significant overhead, leading to underutilization of memory,
and limiting the maximum contiguous allocated size of a log record.

recv_sys_t::blocks: A linked list of buf_block_t that are allocated
by buf_block_alloc() for redo log records. Replaces recv_sys_t::heap.
We repurpose buf_block_t::unzip_LRU for linking the elements.

recv_sys_t::max_log_blocks: Renamed from recv_n_pool_free_frames.

recv_sys_t::max_blocks(): Accessor for max_log_blocks.

recv_sys_t::alloc(): Allocate memory from the current recv_sys_t::blocks
element, or allocate another block.  In debug builds, various free()
member functions must be invoked, because we repurpose
buf_page_t::buf_fix_count for tracking allocations.

recv_sys_t::free_corrupted_page(): Renamed from recv_recover_corrupt_page()

recv_sys_t::is_memory_exhausted(): Renamed from recv_sys_heap_check()

recv_sys_t::pages and its elements are allocated directly by the
system memory allocator.

recv_parse_log_recs(): Remove the parameter available_memory.

We rename some variables 'store_to_hash' to 'store', because
recv_sys.pages is not actually a hash table.

This is joint work with Thirunarayanan Balathandayuthapani.
2020-01-29 12:53:39 +02:00
..
aws_sdk move aws_sdk to extra/ 2019-02-21 14:48:04 +01:00
crc32-vpmsum compilation failure on ppc with -DCMAKE_BUILD_TYPE=Debug 2019-10-22 09:45:39 +03:00
crc32_armv8_neon Armv8 CRC32 optimization (#772) 2019-05-24 18:20:27 +04:00
mariabackup MDEV-21351 Replace recv_sys.heap with list of buf_block_t 2020-01-29 12:53:39 +02:00
readline Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
wolfssl silence a warning in WolfSSL. 2020-01-21 09:20:59 +01:00
charset2html.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
CMakeLists.txt Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
comp_err.c longer regex error messages 2019-12-21 10:34:02 +01:00
innochecksum.cc Merge 10.4 into 10.5 2019-12-16 07:47:17 +02:00
my_print_defaults.c MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
mysql_waitpid.c MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
mysqld_safe_helper.c
perror.c Merge 10.4 into 10.5 2019-11-19 10:45:28 +08:00
replace.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
resolve_stack_dump.c MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
resolveip.c MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00