mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
MDEV-26547 Restoring InnoDB buffer pool dump is single-threaded for no reason
buf_read_page_background(): Remove the parameter "bool sync" and always actually initiate a page read in the background. buf_load(): Always submit asynchronous reads. This allows page checksums to be verified in concurrent threads as soon as the reads are completed.
This commit is contained in:
parent
7d351f1aa0
commit
84c578c795
4 changed files with 16 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2011, 2017, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, 2020, MariaDB Corporation.
|
||||
Copyright (c) 2017, 2021, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
|
|
@ -678,7 +678,7 @@ buf_load()
|
|||
}
|
||||
|
||||
space->reacquire();
|
||||
buf_read_page_background(space, dump[i], zip_size, true);
|
||||
buf_read_page_background(space, dump[i], zip_size);
|
||||
|
||||
if (buf_load_abort_flag) {
|
||||
if (space) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue