kernel_optimize_test/fs/ncpfs
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
..
dir.c ncpfs: fix rename over directory with dangling references 2011-05-28 01:02:53 -04:00
file.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
getopt.c
getopt.h
inode.c fs/ncpfs/inode.c: suppress used-uninitialised warning 2011-05-25 08:39:56 -07:00
ioctl.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
Kconfig
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
mmap.c memcg: add the pagefault count into memcg stats 2011-05-26 17:12:36 -07:00
ncp_fs_i.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncp_fs_sb.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncp_fs.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncplib_kernel.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncplib_kernel.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncpsign_kernel.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncpsign_kernel.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
sock.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
symlink.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00