summaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-10-10 05:53:47 +0200
committerTheodore Ts'o <tytso@mit.edu>2008-10-10 05:53:47 +0200
commit240799cdf22bd789ea6852653c3b879d35ad0a6c (patch)
treee696b60cc103f23838b5c14d8d397f692abffbc3 /fs/fcntl.c
parentext4: Improve the documentation for ext4's /proc tunables (diff)
downloadlinux-240799cdf22bd789ea6852653c3b879d35ad0a6c.tar.xz
linux-240799cdf22bd789ea6852653c3b879d35ad0a6c.zip
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" <tytso@mit.edu>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions