summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/buf0rea.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/buf0rea.h')
-rw-r--r--storage/xtradb/include/buf0rea.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/xtradb/include/buf0rea.h b/storage/xtradb/include/buf0rea.h
index 71f62ff7b49..56d3d24a3b7 100644
--- a/storage/xtradb/include/buf0rea.h
+++ b/storage/xtradb/include/buf0rea.h
@@ -158,8 +158,7 @@ buf_read_recv_pages(
/** The size in pages of the area which the read-ahead algorithms read if
invoked */
-#define BUF_READ_AHEAD_AREA \
- ut_min(64, ut_2_power_up(buf_pool->curr_size / 32))
+#define BUF_READ_AHEAD_AREA 64
/** @name Modes used in read-ahead @{ */
/** read only pages belonging to the insert buffer tree */