Bug 845907: Adds generic ReadAhead functions r=glandium