~psusi/ubuntu/natty/ureadahead/mine

Viewing all changes in revision 25.

  • Committer: Phillip Susi
  • Date: 2010-12-24 00:47:31 UTC
  • Revision ID: psusi@cfl.rr.com-20101224004731-rwb5nw626lt599k1
Read all directories optimally

When tracing, add each directory in the path to a file when
adding it to the pack.  When booting, read the directories
via the block device, and normal files the old way, in two
phases.  This is required because ext3/4 cache directories
via the block device mapping and normal files via file
mappings.  Reading the directories into the cache speeds up
the open() calls to the normal files.  To facillitate this,
the st_mode has been added to the file entry in the pack
file so ureadahead can see if the file is a regular file
or a directory.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: