linux-sg2042/fs/ntfs
Josef Bacik 02c24a8218 fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers
Btrfs needs to be able to control how filemap_write_and_wait_range() is called
in fsync to make it less of a painful operation, so push down taking i_mutex and
the calling of filemap_write_and_wait() down into the ->fsync() handlers.  Some
file systems can drop taking the i_mutex altogether it seems, like ext3 and
ocfs2.  For correctness sake I just pushed everything down in all cases to make
sure that we keep the current behavior the same for everybody, and then each
individual fs maintainer can make up their mind about what to do from there.
Thanks,

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-07-20 20:47:59 -04:00
..
Kconfig fs/Kconfig: move ntfs out 2009-01-22 13:15:55 +03:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
aops.c block: remove per-queue plugging 2011-03-10 08:52:07 +01:00
aops.h mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
attrib.c Fix common misspellings 2011-03-31 11:26:23 -03:00
attrib.h
bitmap.c
bitmap.h
collate.c
collate.h
compress.c Fix common misspellings 2011-03-31 11:26:23 -03:00
debug.c
debug.h ntfs: don't fool kernel-doc 2008-12-01 19:55:25 -08:00
dir.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
dir.h
endian.h
file.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
index.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
index.h
inode.c fs: kill i_alloc_sem 2011-07-20 20:47:46 -04:00
inode.h convert remaining ->clear_inode() to ->evict_inode() 2010-08-09 16:48:37 -04:00
layout.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lcnalloc.c
lcnalloc.h
logfile.c Fix common misspellings 2011-03-31 11:26:23 -03:00
logfile.h Fix common misspellings 2011-03-31 11:26:23 -03:00
malloc.h mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
mft.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mft.h
mst.c
namei.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ntfs.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
quota.c
quota.h
runlist.c Fix common misspellings 2011-03-31 11:26:23 -03:00
runlist.h
super.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sysctl.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
sysctl.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
time.h
types.h
unistr.c
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c
usnjrnl.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
volume.h