• vasil's avatar
    branches/zip: · a3548774
    vasil authored
    Fix Mantis Issue#244 fix bug in linear read ahead (no check on access pattern)
    
    The changes are:
    
    1) Take into account access pattern when deciding whether or not to do linear
      read ahead.
    2) Expose a knob innodb_read_ahead_factor = [0-64] default (8), dynamic,
      global to control linear read ahead behvior
    3) Disable random read ahead. Keep the code for now.
    
    Submitted by:	Inaam (rb://122)
    Approved by:	Heikki (rb://122)
    a3548774
buf0lru.c 56.1 KB