mariadb/storage/innobase
Thirunarayanan Balathandayuthapani c92f7e287f MDEV-8139 Fix Scrubbing
fil_space_t::freed_ranges: Store ranges of freed page numbers.

fil_space_t::last_freed_lsn: Store the most recent LSN of
freeing a page.

fil_space_t::freed_mutex: Protects freed_ranges, last_freed_lsn.

fil_space_create(): Initialize the freed_range mutex.

fil_space_free_low(): Frees the freed_range mutex.

range_set: Ranges of page numbers.

buf_page_create(): Removes the page from freed_ranges when page
is being reused.

btr_free_root(): Remove the PAGE_INDEX_ID invalidation. Because
btr_free_root() and dict_drop_index_tree() are executed in
the same atomic mini-transaction, there is no need to
invalidate the root page.

buf_release_freed_page(): Split from buf_flush_freed_page().
Skip any I/O

buf_flush_freed_pages(): Get the freed ranges from tablespace and
Write punch-hole or zeroes of the freed ranges.

buf_flush_try_neighbors(): Handles the flushing of freed ranges.

mtr_t::freed_pages: Variable to store the list of freed pages.

mtr_t::add_freed_pages(): To add freed pages.

mtr_t::clear_freed_pages(): To clear the freed pages.

mtr_t::m_freed_in_system_tablespace: Variable to indicate whether page has
been freed in system tablespace.

mtr_t::m_trim_pages: Variable to indicate whether the space has been trimmed.

mtr_t::commit(): Add the freed page and update the last freed lsn
in the tablespace and clear the tablespace freed range if space is
trimmed.

file_name_t::freed_pages: Store the freed pages during recovery.

file_name_t::add_freed_page(), file_name_t::remove_freed_page(): To
add and remove freed page during recovery.

store_freed_or_init_rec(): Store or remove the freed pages while
encountering FREE_PAGE or INIT_PAGE redo log record.

recv_init_crash_recovery_spaces(): Add the freed page encountered
during recovery to respective tablespace.
2020-06-12 09:17:51 +05:30
..
btr MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
buf MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
data MDEV-21907: InnoDB: Enable -Wconversion on clang and GCC 2020-03-12 19:46:41 +02:00
dict MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
eval
fil MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
fsp MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
fts Merge 10.4 into 10.5 2020-06-05 20:36:43 +03:00
fut MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
gis MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
ha MDEV-15053 Reduce buf_pool_t::mutex contention 2020-06-05 12:35:46 +03:00
handler MDEV-15053 fixup: Reduce contention in buf_page_get_low() 2020-06-09 18:04:46 +03:00
ibuf MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
include MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
lock Merge 10.3 into 10.4 2020-06-06 22:05:32 +03:00
log MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
mem
mtr MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
mysql-test/storage_engine
os Merge 10.4 into 10.5 2020-06-05 20:36:43 +03:00
page MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
pars MDEV-21907: InnoDB: Enable -Wconversion on clang and GCC 2020-03-12 19:46:41 +02:00
que Cleanup: Reduce que_thr_t, que_fork_t, trx_lock_t size 2020-04-30 10:43:43 +03:00
read MDEV-22593 - InnoDB: don't take trx_sys.mutex in ReadView::open() 2020-05-26 17:11:20 +04:00
rem Merge 10.4 into 10.5 2020-05-05 21:16:22 +03:00
row MDEV-8069 DROP or rebuild of a large table may lock up InnoDB 2020-06-10 16:59:07 +03:00
srv MDEV-22858 Remove unused innodb_mem_validate_usec, innodb_master_purge_usec 2020-06-10 18:07:13 +03:00
sync MDEV-15053 Reduce buf_pool_t::mutex contention 2020-06-05 12:35:46 +03:00
trx MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
ut MDEV-22863: Fix GCC 4.8.5 -Wconversion 2020-06-11 15:00:00 +03:00
.clang-format
bzip2.cmake
CMakeLists.txt For better experience in Visual Studio IDE, add header files to Innodb sources 2020-06-05 00:16:50 +02:00
compile-innodb
COPYING.Google
COPYING.Percona
innodb.cmake CMake : Do not add compile flags, such as -Wconversion with ADD_DEFINITIONS 2020-04-10 19:05:26 +02:00
lz4.cmake
lzma.cmake
lzo.cmake
plugin_exports
snappy.cmake