• vasil's avatar
    branches/zip: · b100a45f
    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)
    b100a45f
buf0rea.c 23.2 KB