diff options
author | Inaam Rana <inaam.rana@oracle.com> | 2012-11-16 09:02:35 -0500 |
---|---|---|
committer | Inaam Rana <inaam.rana@oracle.com> | 2012-11-16 09:02:35 -0500 |
commit | a46adb0f9827e8b06c76591b5da3adea4a0b6301 (patch) | |
tree | 030df1f0e14c04afcad71ad1e9f530898c9f707e /extra/yassl/src/ssl.cpp | |
parent | b5ff983ab50549b3c216b4b64806c77fd4712c6e (diff) | |
download | mariadb-git-a46adb0f9827e8b06c76591b5da3adea4a0b6301.tar.gz |
Bug#15859402 INNODB_BUFFER_POOL_READ_AHEAD_EVICTED IS INACCURATE
rb://1546
approved by: Sunny Bains and Marko Makela
Our dealing of buf_page_t::access_time flag is inaccurate.
* If LRU eviction has not started we don't set the access_time
* If LRU eviction is started we set it only if the block is not
'too old'.
* Not a correctness issue but we hold buf_pool::mutex when
setting the flag
This patch fixes this by:
* Setting flag unconditionally whenever the first page access happens
* Use buf_page_t mutex to protect write to the flag
Diffstat (limited to 'extra/yassl/src/ssl.cpp')
0 files changed, 0 insertions, 0 deletions