diff options
author | unknown <heikki@hundin.mysql.fi> | 2004-08-24 20:17:23 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2004-08-24 20:17:23 +0300 |
commit | 73fe243d43067860295148ed6eac1f742d16de26 (patch) | |
tree | 561702840d2874a50d44c8cc54239c9daae7f80e /innobase | |
parent | 9d1a9d72cba1aa828e631f520540411d7508a4e0 (diff) | |
download | mariadb-git-73fe243d43067860295148ed6eac1f742d16de26.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.
innobase/buf/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')
-rw-r--r-- | innobase/buf/buf0rea.c | 2 |
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(); |