• Andrew Morton's avatar
    [PATCH] ext2: preread inode backing blocks · a9f525e6
    Andrew Morton authored
    When ext2 creates a new inode, perform an asynchronous preread against
    its backing block.
    
    Without this patch, many-file writeout gets stalled by having to read
    many individual inode table blocks in the middle of writeback.
    
    It's worth about a 20% gain in writeback bandwidth for the many-file
    writeback case.
    
    ext3 already reads the inode's backing block in
    ext3_new_inode->ext3_mark_inode_dirty, so no change is needed there.
    
    A backport to 2.4 would make sense.
    a9f525e6
ialloc.c 15.5 KB