summaryrefslogtreecommitdiff
path: root/innobase/buf
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-08-24 20:17:23 +0300
committerheikki@hundin.mysql.fi <>2004-08-24 20:17:23 +0300
commit852181a21e78ae22955e0198375e53eea45a923b (patch)
tree561702840d2874a50d44c8cc54239c9daae7f80e /innobase/buf
parent2e238f7eff665593f9161667403baabc83e15c94 (diff)
downloadmariadb-git-852181a21e78ae22955e0198375e53eea45a923b.tar.gz
buf0rea.c:
Fix bug: if there was little file I/O in InnoDB, but the insert buffer was used, it could happen that 'Pending normal aio reads' was bigger than 0, but the I/O handler thread did not get waken up in 600 seconds. This resulted in a hang, and crashing of InnoDB.
Diffstat (limited to 'innobase/buf')
-rw-r--r--innobase/buf/buf0rea.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/buf/buf0rea.c b/innobase/buf/buf0rea.c
index 83397c9c7fa..a808c282934 100644
--- a/innobase/buf/buf0rea.c
+++ b/innobase/buf/buf0rea.c
@@ -546,6 +546,8 @@ buf_read_ibuf_merge_pages(
}
}
+ os_aio_simulated_wake_handler_threads();
+
/* Flush pages from the end of the LRU list if necessary */
buf_flush_free_margin();