Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL)
Description
In InnoDB, fil_system->mutex is one of the most contended mutexes. We should reduce the amount of work done while holding this mutex.
One such source of work is tablespace lookups.
During a page flush, we could look up the tablespace only once, in buf_flush_write_block_low(), and pass the fil_space_t* to all functions that need it.