• Sergey Vojtovich's avatar
    Applying InnoDB snapshot, fixes BUG#35077. · 1222f0a6
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6548 | marko | 2010-02-03 15:01:39 +0200 (Wed, 03 Feb 2010) | 11 lines
    branches/zip: buf_LRU_invalidate_tablespace(): Ensure that prev_bpage
    is not relocated when freeing a compressed block.  This avoids the
    costly rescan of the LRU list.  (Bug #35077, Issue #449)
    
    At most one buffer-fix will be active at a time, affecting two blocks:
    the buf_page_t and the compressed page frame. This should not block
    the memory defragmentation in buf0buddy.c too much.  In fact, it may
    avoid unnecessary copying if also prev_bpage belongs to the tablespace
    that is being invalidated.
    
    rb://240
    1222f0a6
buf0lru.c 58.9 KB