From: Benjamin Marzinski Date: Fri, 18 Mar 2011 02:54:46 +0000 (-0500) Subject: GFS2: directly write blocks past i_size X-Git-Tag: v2.6.39-rc5~46^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee532062fa7ff0795b3862c2d50efe32e552f9f;p=pandora-kernel.git GFS2: directly write blocks past i_size GFS2 was relying on the writepage code to write out the zeroed data for fallocate. However, with FALLOC_FL_KEEP_SIZE set, this may be past i_size. If it is, it will be ignored. To work around this, gfs2 now calls write_dirty_buffer directly on the buffer_heads when FALLOC_FL_KEEP_SIZE is set, and it's writing past i_size. This version is just a cleanup of my last version Signed-off-by: Benjamin Marzinski Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed