kernel_optimize_test/fs/ceph
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
..
addr.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
caps.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: remove debugfs debug cruft 2011-03-21 12:24:20 -07:00
dir.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
export.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
file.c fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
inode.c ->permission() sanitizing: don't pass flags to ->permission() 2011-07-20 01:43:24 -04:00
ioctl.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
ioctl.h ceph: fix ioctl magic 2010-12-06 09:45:22 -08:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: unwind canceled flock state 2011-06-07 21:36:45 -07:00
Makefile ceph: Makefile: Remove unnessary code 2011-01-12 15:15:13 -08:00
mds_client.c ceph analog of cifs build_path_from_dentry() race fix 2011-07-16 23:43:58 -04:00
mds_client.h ceph: fix cap flush race reentrancy 2011-05-24 11:52:12 -07:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
super.h fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
xattr.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00