1
linux/fs/gfs2
Steven Whitehouse 4442f2e03e GFS2: O_(D)SYNC support for fallocate
Add sync of metadata after fallocate for O_SYNC files to ensure that we
meet expectations for everything being on disk in this case.
Unfortunately, the offset and len parameters are modified during the
course of the fallocate function, so I've had to add a couple of new
variables to call generic_write_sync() at the end.

I know that potentially this will sync data as well within the range,
but I think that is a fairly harmless side-effect overall, since we
would not normally expect there to be any dirty data within the range in
question.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
2011-11-21 10:01:25 +00:00
..
acl.c GFS2: Use ->dirty_inode() 2011-10-21 12:39:26 +01:00
acl.h fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
aops.c GFS2: Cache the most recently used resource group in the inode 2011-10-21 12:39:34 +01:00
bmap.c GFS2: combine gfs2_alloc_block and gfs2_alloc_di 2011-11-15 15:25:03 +00:00
bmap.h
dentry.c
dir.c GFS2: combine gfs2_alloc_block and gfs2_alloc_di 2011-11-15 15:25:03 +00:00
dir.h GFS2: Add readahead to sequential directory traversal 2011-11-08 09:52:12 +00:00
export.c GFS2: Add readahead to sequential directory traversal 2011-11-08 09:52:12 +00:00
file.c GFS2: O_(D)SYNC support for fallocate 2011-11-21 10:01:25 +00:00
gfs2.h
glock.c GFS2: Automatically adjust glock min hold time 2011-07-15 09:32:11 +01:00
glock.h treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
glops.c filesystems: add set_nlink() 2011-11-02 12:53:43 +01:00
glops.h GFS2: Fix AIL flush issue during fsync 2011-10-21 12:39:41 +01:00
incore.h GFS2: remove vestigial al_alloced 2011-11-18 09:49:51 +00:00
inode.c GFS2: combine gfs2_alloc_block and gfs2_alloc_di 2011-11-15 15:25:03 +00:00
inode.h GFS2: Use ->dirty_inode() 2011-10-21 12:39:26 +01:00
Kconfig
lock_dlm.c
log.c GFS2: Fix up REQ flags 2011-11-08 09:51:53 +00:00
log.h
lops.c GFS2: Misc fixes 2011-10-21 12:39:51 +01:00
lops.h
main.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
Makefile
meta_io.c GFS2: Fix up REQ flags 2011-11-08 09:51:53 +00:00
meta_io.h
ops_fstype.c GFS2: Fix up REQ flags 2011-11-08 09:51:53 +00:00
quota.c GFS2: Fix up REQ flags 2011-11-08 09:51:53 +00:00
quota.h
recovery.c
recovery.h
rgrp.c GFS2: remove vestigial al_alloced 2011-11-18 09:49:51 +00:00
rgrp.h GFS2: combine gfs2_alloc_block and gfs2_alloc_di 2011-11-15 15:25:03 +00:00
super.c GFS2: Fix AIL flush issue during fsync 2011-10-21 12:39:41 +01:00
super.h
sys.c GFS2: Fix race during filesystem mount 2011-07-12 09:15:46 +01:00
sys.h
trace_gfs2.h
trans.c GFS2: Use rbtree for resource groups and clean up bitmap buffer ref count scheme 2011-10-21 12:39:31 +01:00
trans.h GFS2: Cache the most recently used resource group in the inode 2011-10-21 12:39:34 +01:00
util.c
util.h
xattr.c GFS2: combine gfs2_alloc_block and gfs2_alloc_di 2011-11-15 15:25:03 +00:00
xattr.h