From: Bob Peterson Date: Thu, 27 Oct 2011 16:16:06 +0000 (-0400) Subject: GFS2: Add readahead to sequential directory traversal X-Git-Tag: v3.3-rc1~168^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe4d34b39b80faff52489f950a18523da7581bf;p=pandora-kernel.git GFS2: Add readahead to sequential directory traversal This patch adds read-ahead capability to GFS2's directory hash table management. It greatly improves performance for some directory operations. For example: In one of my file systems that has 1000 directories, each of which has 1000 files, time to execute a recursive ls (time ls -fR /mnt/gfs2 > /dev/null) was reduced from 2m2.814s on a stock kernel to 0m45.938s. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed