diff options
author | Marko Mäkelä <marko.makela@oracle.com> | 2011-09-06 10:08:52 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@oracle.com> | 2011-09-06 10:08:52 +0300 |
commit | 7088d13d8339acc2cc60ebd27c9b2880a1b5553e (patch) | |
tree | 3d46149c3f983ada6d65aaaf7510f4f9c39fcae4 /storage/ndb/src/mgmsrv | |
parent | 380e7babcc53c1b22663847c066d4ba92978c314 (diff) | |
download | mariadb-git-7088d13d8339acc2cc60ebd27c9b2880a1b5553e.tar.gz |
Bug #12950803 62294: BUF_BUDDY_RELOCATE CALLS GETTIMEOFDAY ...
buf_buddy_relocate(): The ut_time_us() function is needed for
statistics, calculating the total time spent on relocating blocks.
Until now, we invoked ut_time_us() every time buf_buddy_relocate() was
called. Fix: Only call ut_time_us() when the block can be relocated.
After this fix, the reported relocated_usec will no longer include the
time for the page_hash lookup and for acquiring the block mutex.
Approved by Sunny Bains on IM
Diffstat (limited to 'storage/ndb/src/mgmsrv')
0 files changed, 0 insertions, 0 deletions