From: Theodore Ts'o Date: Fri, 10 Oct 2008 03:53:47 +0000 (-0400) Subject: ext4: Use readahead when reading an inode from the inode table X-Git-Tag: v2.6.28-rc1~709^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240799cdf22bd789ea6852653c3b879d35ad0a6c;p=pandora-kernel.git ext4: Use readahead when reading an inode from the inode table With modern hard drives, reading 64k takes roughly the same time as reading a 4k block. So request readahead for adjacent inode table blocks to reduce the time it takes when iterating over directories (especially when doing this in htree sort order) in a cold cache case. With this patch, the time it takes to run "git status" on a kernel tree after flushing the caches via "echo 3 > /proc/sys/vm/drop_caches" is reduced by 21%. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed