~psusi/ubuntu/natty/ureadahead/mine

Viewing all changes in revision 23.

  • Committer: Phillip Susi
  • Date: 2010-12-24 00:42:33 UTC
  • Revision ID: psusi@cfl.rr.com-20101224004233-t5wr83wwok3zaowj
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: