~psusi/ubuntu/precise/ureadahead/faster

Viewing all changes in revision 24.

  • Committer: Phillip Susi
  • Date: 2010-12-24 00:41:38 UTC
  • Revision ID: psusi@cfl.rr.com-20101224004138-k1i4klpiru7xj412
Made preload_inode_group() smarter

Before it called on e2fslibs to get the next inode until it returned
one not in the specified group.  This caused sync reads of the inodes
and could read inode tables that we don't need.  Now it looks up the
locations of the inode table, inode bitmap, and block bitmap and calls
readahead() on the block device for those locations to queue their
reads in the background.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: