Created by Phillip Susi on 2011-12-06 and last modified on 2011-12-06
Get this branch:
bzr branch lp:~psusi/ubuntu/precise/ureadahead/faster
Only Phillip Susi can upload to this branch. If you are Phillip Susi please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Phillip Susi

Recent revisions

29. By Phillip Susi on 2011-12-06

Force reprofile on upgrade

28. By Phillip Susi on 2011-12-06

* Read all directories optimally
* trace_add_path(): accept directories
* Readahead on the raw block device
* Made preload_inode_group() smarter

27. By Phillip Susi on 2010-12-24

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.

26. By Phillip Susi on 2010-12-24

trace_add_path(): accept directories

Rather than bail out and ignore a directory, it now
directly adds the extents for the entire directory
to the pack file.

25. By Phillip Susi on 2010-12-24

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()

24. By Phillip Susi on 2010-12-24

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.

23. By Kees Cook on 2011-03-16

* src/trace.c: leave room for string termination on reads (LP: #485194).
* man/ureadahead.8: fix typo and update bug reporting URL (LP: #697770).
* debian/rules: don't bother with /var/lib/ureadahead mode.

22. By Kees Cook on 2011-02-22

Install /var/lib/ureadahead mode 0700 so other users cannot see
the debugfs mount point.

21. By Martin Pitt on 2010-11-26

releasing version 0.100.0-9

20. By Martin Pitt on 2010-11-26

debian/control: Bump Standards-Version to 3.9.1.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.