summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2011-03-17 21:54:46 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2011-04-18 15:22:52 +0100
commit0ee532062fa7ff0795b3862c2d50efe32e552f9f (patch)
tree5d8319628ea6d9d5099b7ebd669204ed0070548b /fs/gfs2/glops.c
parentdeab72d3797e3d4340c7ddf968234b8c3d01d7a5 (diff)
downloadlinux-0ee532062fa7ff0795b3862c2d50efe32e552f9f.tar.bz2
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 <bmarzins@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
0 files changed, 0 insertions, 0 deletions