Displaying 1 result from an estimated 1 matches for "ext2fs_read_dir_block".
2005 Apr 20
0
Ext2 metadata and disk seeks
...Using ext2_inode_scan from libext2fs, read the inode tables of the
corresponding block groups in a batch [3]. While scanning the block
group, store the block numbers of all directory blocks. Once the
scan is complete, sort the directory block numbers and read all
the blocks using ext2fs_read_dir_block().
time: 22.7 s
data read: 119,900 KB
The reasoning behind the last approach is that the bottleneck here are
path lookups -- the disk head must move back and forth between the
inode table and directory blocks. By reading the inodes and directory
blocks in a batch, we should be...