From: Bob Peterson Date: Fri, 11 Jan 2008 19:44:50 +0000 (-0600) Subject: [GFS2] gfs2_alloc_required performance X-Git-Tag: v2.6.25-rc1~1241^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05220535196d413db434527a3edcba79b7187df8;p=pandora-kernel.git [GFS2] gfs2_alloc_required performance This is a small I/O performance enhancement to gfs2. (Actually, it is a rework of an earlier version I got wrong). The idea here is to check if the write extends past the last block in the file. If so, the function can save itself a lot of time and trouble because it knows an allocate will be required. Benchmarks like iozone should see better performance. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed