~psusi/ubuntu/precise/ureadahead/faster

Viewing all changes in revision 25.

  • Committer: Phillip Susi
  • Date: 2010-12-24 00:42:33 UTC
  • Revision ID: psusi@cfl.rr.com-20101224004233-qg5v2j1ru1098o52
Readahead on the raw block device

As long as we managed to open the raw block device and preload
the inode tables, don't bother open()ing the files and instead
call readahead() on the raw block device with the physical
offsets instead.  This makes sure we don't block in the open()
calls.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: