lp:~psusi/ubuntu/natty/ureadahead/mine
- Get this branch:
- bzr branch lp:~psusi/ubuntu/natty/ureadahead/mine
Branch merges
Related bugs
Related blueprints
Branch information
- Owner:
- Phillip Susi
- Status:
- Development
Recent revisions
- 25. By Phillip Susi
-
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. - 24. By Phillip Susi
-
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. - 23. By Phillip Susi
-
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. - 22. By Phillip Susi
-
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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/natty/ureadahead