1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00
Files
mariadb/storage
Vladislav Vaintroub 44dc149c78 MDEV-37843 Remove InnoDB "optimizations" for debug_no_sync
This patch removes unnecessary and potentially performance affecting
reads of my_disable_sync global variable, which exists for single purpose
of speeding up mtr tests, by making fsync a no-op.

The read is still left in its proper location in os_file_flush_func().

Background
According to Marko Mäkelä, the removed code originated from the porting
of MDEV-30054 — debug-no-sync doesn’t fully disable sync calls,
introduced in merge commit be24e75229.

At that point, the access to my_disable_sync variable in higher-level
Innodb code was already unnecessary because MDEV-30136 had already
implemented proper handling of flush skipping (in os0file.cc) about nine
months earlier.
2025-10-13 20:02:37 +03:00
..
2024-06-27 10:26:09 +03:00
2024-12-02 11:35:34 +02:00
2025-09-03 10:32:56 +03:00
2025-06-17 09:50:22 +02:00
2024-12-02 11:35:34 +02:00
2025-04-26 10:53:02 +02:00
2025-10-01 07:24:54 +03:00
2025-01-09 07:58:08 +02:00
2024-12-02 11:35:34 +02:00
2025-09-03 10:32:56 +03:00
2025-09-16 17:01:39 +03:00
2024-07-08 22:40:16 +02:00
2024-12-02 11:35:34 +02:00
2025-10-09 13:37:45 +03:00
2024-06-24 13:09:47 +03:00