mariadb/storage/xtradb/buf
Marko Mäkelä f5eb37129f MDEV-13103 Deal with page_compressed page corruption
fil_page_decompress(): Replaces fil_decompress_page().
Allow the caller detect errors. Remove
duplicated code. Use the "safe" instead of "fast" variants of
decompression routines.

fil_page_compress(): Replaces fil_compress_page().
The length of the input buffer always was srv_page_size (innodb_page_size).
Remove printouts, and remove the fil_space_t* parameter.

buf_tmp_buffer_t::reserved: Make private; the accessors acquire()
and release() will use atomic memory access.

buf_pool_reserve_tmp_slot(): Make static. Remove the second parameter.
Do not acquire any mutex. Remove the allocation of the buffers.

buf_tmp_reserve_crypt_buf(), buf_tmp_reserve_compression_buf():
Refactored away from buf_pool_reserve_tmp_slot().

buf_page_decrypt_after_read(): Make static, and simplify the logic.
Use the encryption buffer also for decompressing.

buf_page_io_complete(), buf_dblwr_process(): Check more failures.

fil_space_encrypt(): Simplify the debug checks.

fil_space_t::printed_compression_failure: Remove.

fil_get_compression_alg_name(): Remove.

fil_iterate(): Allocate a buffer for compression and decompression
only once, instead of allocating and freeing it for every page
that uses compression, during IMPORT TABLESPACE.

fil_node_get_space_id(), fil_page_is_index_page(),
fil_page_is_lzo_compressed(): Remove (unused code).
2018-06-14 13:46:07 +03:00
..
buf0buddy.cc Merge remote-tracking branch '5.5' into 10.0 2018-01-24 12:29:31 +02:00
buf0buf.cc MDEV-13103 Deal with page_compressed page corruption 2018-06-14 13:46:07 +03:00
buf0checksum.cc Merge branch '10.0' into 10.1 2015-09-03 12:58:41 +02:00
buf0dblwr.cc MDEV-13103 Deal with page_compressed page corruption 2018-06-14 13:46:07 +03:00
buf0dump.cc MDEV-14705: slow innodb startup/shutdown can exceed systemd timeout 2018-04-06 09:58:14 +03:00
buf0flu.cc MDEV-14705: Follow-up fixes 2018-04-06 12:29:25 +03:00
buf0lru.cc MDEV-16283 ALTER TABLE...DISCARD TABLESPACE still takes long on a large buffer pool 2018-05-29 14:00:20 +03:00
buf0mtflu.cc MDEV-11707: Fix incorrect memset() for structures containing 2017-02-06 15:40:17 +02:00
buf0rea.cc After-merge fix for commit d4df7bc9b1 2018-02-02 19:57:59 +02:00